BusDriver: Fix tp hack

This commit is contained in:
hydrant
2021-04-24 02:43:14 +02:00
parent d3575c6c5c
commit bc2975b490
4 changed files with 14 additions and 21 deletions

View File

@@ -15,7 +15,6 @@ let globalData: IGlobalData = {
InChat: false,
LoggedIn: false,
IsAfk: false,
BlockMovement: false,
get InMenu(): boolean {
return inMenu;
@@ -27,18 +26,6 @@ let globalData: IGlobalData = {
}
};
mp.events.add(RageEnums.EventKey.RENDER, (nametags) => {
if (globalData.BlockMovement) {
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);
}
});
const game: IGame = new RageGame();
export default game;
export {