reenable anticheat
This commit is contained in:
@@ -29,8 +29,13 @@ let globalData: IGlobalData = {
|
||||
|
||||
mp.events.add(RageEnums.EventKey.RENDER, (nametags) => {
|
||||
if (globalData.BlockMovement) {
|
||||
mp.game.controls.disableAllControlActions(0);
|
||||
mp.game.controls.disableAllControlActions(27);
|
||||
mp.game.controls.disableControlAction(32, 23, true);
|
||||
mp.game.controls.disableControlAction(32, 75, true);
|
||||
|
||||
mp.game.controls.disableControlAction(32, 32, true);
|
||||
mp.game.controls.disableControlAction(32, 33, true);
|
||||
mp.game.controls.disableControlAction(32, 34, true);
|
||||
mp.game.controls.disableControlAction(32, 35, true);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -268,7 +273,7 @@ import animationSync from './util/animationSync';
|
||||
animationSync();
|
||||
|
||||
import antiCheat from './admin/anticheat';
|
||||
//antiCheat(globalData);
|
||||
antiCheat(globalData);
|
||||
|
||||
import antiAfk from './Player/antiafk';
|
||||
antiAfk(globalData);
|
||||
|
||||
Reference in New Issue
Block a user