Lots of fixes + clans
* Added clans * Fixed interior exit labels * Disabled nametags on games without 3D label support * Fixed mouse cursor toggle command * Fixed SA fight-style not being applied * Added manageRanks clan permission bitflag * Added interior lights toggle * Fixed clan chat * Added real-time support with optional timezone offset * Added lots of JSDoc stuff * Added command for managers to set server GUI colour * Added GeoIP command for admins * Added command for admins to force an immediate payday * Added admins gotospawn command * Added return player command for teleported players * Added pizza delivery job const * Fixed biz/house set pickup & interior type * Fixed inventory showing ammo count for melee weapons * Fixed SA using wrong pickup types * Fixed char select screen breaking when in a clan * Added +/- symbol util for number display * Added get current timestamp for timezone offset util * Fixed vehicle owner ID being set wrong for job veh
This commit is contained in:
@@ -32,6 +32,8 @@ function initClassTable() {
|
||||
this.newCharacter = {
|
||||
spawnPosition: false,
|
||||
spawnHeading: 0.0,
|
||||
spawnInterior: 0,
|
||||
spawnDimension: 0,
|
||||
money: 0,
|
||||
bank: 0,
|
||||
skin: 0,
|
||||
@@ -81,6 +83,9 @@ function initClassTable() {
|
||||
|
||||
this.pauseSavingToDatabase = false;
|
||||
|
||||
this.useRealTime = false;
|
||||
this.realTimeZone = 0;
|
||||
|
||||
if(dbAssoc) {
|
||||
this.databaseId = dbAssoc["svr_id"];
|
||||
console.log("1");
|
||||
@@ -133,6 +138,8 @@ function initClassTable() {
|
||||
this.createHouseBlips = intToBool(dbAssoc["svr_house_blips"]);
|
||||
|
||||
this.introMusicURL = dbAssoc["svr_intro_music"];
|
||||
this.useRealTime = intToBool(dbAssoc["svr_time_realtime_enabled"]);
|
||||
this.realTimeZone = dbAssoc["svr_time_realtime_timezone"];
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -734,8 +741,8 @@ function initClassTable() {
|
||||
this.name = "";
|
||||
this.level = 0;
|
||||
this.flags = 0;
|
||||
this.tag = "";
|
||||
this.enabled = false;
|
||||
this.customTag = "";
|
||||
this.enabled = true;
|
||||
this.index = -1;
|
||||
this.clanIndex = -1;
|
||||
this.needsSaved = false;
|
||||
|
||||
Reference in New Issue
Block a user