fix
This commit is contained in:
@@ -60,8 +60,6 @@
|
||||
if (!player.getVariable("AnimationData")) {
|
||||
return;
|
||||
}
|
||||
if (player != mp.players.local)
|
||||
mp.game.wait(200);
|
||||
|
||||
let index = mp.game.joaat(player.getVariable("AnimationData"));
|
||||
let currentAnim = animationSyncData.animations[index];
|
||||
@@ -70,7 +68,7 @@
|
||||
|
||||
if (loop && !player.isPlayingAnim(animDict, animName, 3) && pair) {
|
||||
loadAnimDict(animDict, function () {
|
||||
mp.players.exists(player) && 0 !== player.handle && player.taskPlayAnim(animDict, animName, 8, 1, duration, parseInt(flag), 0, !1, !1, !1)
|
||||
mp.players.exists(player) && 0 !== player.handle && player.taskPlayAnim(animDict, animName, 1, 0, duration, parseInt(flag), 0, !1, !1, !1)
|
||||
});
|
||||
} else if (!loop && player.isPlayingAnim(animDict, animName, 3)) {
|
||||
let a = setInterval(function () {
|
||||
@@ -98,7 +96,7 @@
|
||||
let { id, name, animDict, animName, duration, loop, flag } = animData;
|
||||
|
||||
loadAnimDict(animDict, function () {
|
||||
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, 1, 0, duration, parseInt(flag), 0, !1, !1, !1)
|
||||
});
|
||||
|
||||
let pair = pairData.find(pair => pair.from == string);
|
||||
|
||||
Reference in New Issue
Block a user