From 9522e3b945e97e5578fd4928ac20b37b80155e91 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Mon, 21 Dec 2020 09:24:05 -0600 Subject: [PATCH] Added int and vw to sacct class --- scripts/server/class.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/scripts/server/class.js b/scripts/server/class.js index b6902a11..377a7e53 100644 --- a/scripts/server/class.js +++ b/scripts/server/class.js @@ -136,6 +136,9 @@ function initClassTable() { this.weapons = []; this.inJail = false; + + this.interior = 0; + this.dimension = 0; } }, businessData: class { @@ -444,6 +447,29 @@ function initClassTable() { } } }, + blackListedGameScriptData: class { + constructor(dbAssoc) { + if(!dbAssoc) { + return; + } + this.databaseId = dbAssoc["ac_script_bl_id"]; + this.enabled = intToBool(dbAssoc["ac_script_bl_enabled"]); + this.server = dbAssoc["ac_script_bl_server"]; + this.scriptName = dbAssoc["ac_script_bl_name"]; + } + }, + whiteListedGameScriptData: class { + constructor(dbAssoc) { + if(!dbAssoc) { + return; + } + + this.databaseId = dbAssoc["ac_script_wl_id"]; + this.enabled = intToBool(dbAssoc["ac_script_wl_enabled"]); + this.server = dbAssoc["ac_script_wl_server"]; + this.scriptName = dbAssoc["ac_script_wl_name"]; + } + }, } return tempClasses;