Add AnimationSync

This commit is contained in:
2021-04-05 23:40:11 +02:00
parent e0d7dabe50
commit 8f225699c6
4 changed files with 196 additions and 62 deletions

View File

@@ -7,14 +7,13 @@
import { IGame } from './game';
import RageGame from './core/rage-mp/game';
var inMenu: boolean = false;
let globalData: IGlobalData = {
InTuning: false,
HideGui: false,
InChat: false,
LoggedIn: false,
LoggedIn: false,
get InMenu(): boolean {
return inMenu;
@@ -224,7 +223,6 @@ refuseCollector();
import PedCreator from './Ped/PedCreator';
PedCreator();
import attachmentManager from './util/attachmentMngr';
attachmentManager(game);
@@ -235,14 +233,12 @@ import bankMenuHandle from './Interaction/bankmenu';
import InputHelper from './inputhelper';
bankMenuHandle(globalData);
import ahelp from './Gui/ahelp';
ahelp(globalData);
import Introduction from './Gui/introduction';
Introduction(globalData);
import userhelp from './Gui/userhelp';
userhelp(globalData);
@@ -252,6 +248,9 @@ drivingschool(globalData);
import gangwarHandle from './util/Gangwar';
gangwarHandle(globalData);
import animationSync from './util/animationSync';
animationSync();
require('./Gui/policedepartment');
require('./Gui/helptext');
@@ -262,6 +261,4 @@ interface VehicleData {
export {
VehicleData
}
}