Merge branch 'hotfix/medic' into develop
This commit is contained in:
@@ -133,11 +133,14 @@ export default function animationSync() {
|
||||
mp.events.callRemote("CLIENT:ClearAnimationData", false);
|
||||
}
|
||||
|
||||
const blockInputControls = [12, 13, 14, 15, 22, 24, 25, 37, 261, 262];
|
||||
|
||||
mp.events.add("render", () => {
|
||||
mp.gui.chat.push("blockInput = " + blockInput);
|
||||
if (blockInput) {
|
||||
mp.game.controls.disableControlAction(32, 25, true);
|
||||
mp.game.controls.disableControlAction(32, 24, true);
|
||||
mp.game.controls.disableControlAction(32, 22, true);
|
||||
blockInputControls.forEach((ctrl) => {
|
||||
mp.game.controls.disableControlAction(32, ctrl, true);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user