tryfix
This commit is contained in:
@@ -72,10 +72,6 @@
|
|||||||
mp.events.addDataHandler("AnimationData", (entity: PlayerMp, string) => {
|
mp.events.addDataHandler("AnimationData", (entity: PlayerMp, string) => {
|
||||||
entity.clearTasksImmediately();
|
entity.clearTasksImmediately();
|
||||||
|
|
||||||
if (entity == mp.players.local) { //allow player using LMB to attack
|
|
||||||
blockInput = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (string == null) {
|
if (string == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -96,10 +92,6 @@
|
|||||||
if (!pair)
|
if (!pair)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (entity == mp.players.local) { //block player from using LMB to attack
|
|
||||||
blockInput = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
let a = setInterval(function () {
|
let a = setInterval(function () {
|
||||||
mp.events.callRemote("CLIENT:AnimPairTransition", entity, pair.transitionTo);
|
mp.events.callRemote("CLIENT:AnimPairTransition", entity, pair.transitionTo);
|
||||||
clearInterval(a);
|
clearInterval(a);
|
||||||
|
|||||||
Reference in New Issue
Block a user