haus system auf core geändert

This commit is contained in:
hydrant
2020-03-29 12:18:17 +02:00
parent 6bd3d4a3d0
commit bcfc2105ea
68 changed files with 1366 additions and 810 deletions

View File

@@ -7,7 +7,7 @@
import { IGame } from './game';
import RageGame from './core/rage-mp/game';
let globalData: GlobalData = {
let globalData: IGlobalData = {
InTuning: false,
HideGui: false,
InChat: false,
@@ -26,6 +26,9 @@ let globalData: GlobalData = {
const game: IGame = new RageGame();
export default game;
export {
globalData as GlobalData
}
game.events.onPlayerCommand((cmd) => {
game.events.callServer("Command", cmd.split(' '));
@@ -35,8 +38,7 @@ var inMenu = false;
mp.game.vehicle.defaultEngineBehaviour = false;
import house from './Gui/house';
house(globalData);
require('./Gui/house');
import vehicleEntering from './vehiclesync/entering';
vehicleEntering(globalData);