try fix
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
|
||||
mp.events.addDataHandler("AnimationData", (entity: PlayerMp, string) => {
|
||||
entity.clearTasksImmediately();
|
||||
|
||||
blockInput = false;
|
||||
if (string == null) {
|
||||
return;
|
||||
}
|
||||
@@ -99,11 +99,9 @@
|
||||
});
|
||||
|
||||
mp.events.add("render", () => {
|
||||
mp.game.controls.disableControlAction(32, 24, blockInput);
|
||||
mp.game.controls.disableControlAction(32, 140, blockInput);
|
||||
mp.game.controls.disableControlAction(32, 141, blockInput);
|
||||
mp.game.controls.disableControlAction(32, 142, blockInput);
|
||||
mp.game.controls.disableControlAction(32, 257, blockInput);
|
||||
if (blockInput) {
|
||||
mp.game.controls.disableControlAction(32, 24, true);
|
||||
}
|
||||
});
|
||||
|
||||
function loadAnimDict(animDict, callback) {
|
||||
|
||||
Reference in New Issue
Block a user