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