fix
This commit is contained in:
@@ -92,14 +92,14 @@
|
|||||||
mp.players.exists(entity) && 0 !== entity.handle && entity.taskPlayAnim(animDict, animName, 8, 1, duration, parseInt(flag), 0, !1, !1, !1)
|
mp.players.exists(entity) && 0 !== entity.handle && entity.taskPlayAnim(animDict, animName, 8, 1, duration, parseInt(flag), 0, !1, !1, !1)
|
||||||
});
|
});
|
||||||
|
|
||||||
if (entity == mp.players.local) { //block player from using LMB to attack
|
|
||||||
blockInput = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
let pair = pairData.find(pair => pair.from == string);
|
let pair = pairData.find(pair => pair.from == string);
|
||||||
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