From e7e62ad0dae9603c22832358d069ea6bce1aa71a Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 13 Jan 2021 11:01:59 -0600 Subject: [PATCH] Add several new consts --- scripts/server/const.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/scripts/server/const.js b/scripts/server/const.js index 9b1fe411..a6170baa 100644 --- a/scripts/server/const.js +++ b/scripts/server/const.js @@ -153,6 +153,8 @@ const AG_ITEM_OWNER_HOUSE = 6; // Item is in a house const AG_ITEM_OWNER_SAFE = 7; // Item is in a safe (safes can be anywhere) const AG_ITEM_OWNER_ITEM = 8; // Item is in another item (trashbag, briefcase, wallet, suitcase, crate/box, barrel, etc) const AG_ITEM_OWNER_GROUND = 9; // Item is on the ground +const AG_ITEM_OWNER_JOBLOCKER = 10; // Item is in player's job locker +const AG_ITEM_OWNER_LOCKER = 10; // Item is in player's locker // Item Use Types const AG_ITEM_USETYPE_NONE = 0; // Has no effect @@ -190,6 +192,12 @@ const AG_ITEM_USETYPE_AED = 30; // const AG_ITEM_USETYPE_WALKIETALKIE = 31; // const AG_ITEM_USETYPE_BOOMBOX = 32; // const AG_ITEM_USETYPE_EARBUDS = 33; // +const AG_ITEM_USETYPE_BADGE = 34; // +const AG_ITEM_USETYPE_DRINK = 35; // +const AG_ITEM_USETYPE_EXTINGUISHER = 36; // +const AG_ITEM_USETYPE_SPRAYPAINT = 37; // +const AG_ITEM_USETYPE_PEPPERSPRAY = 38; // +const AG_ITEM_USETYPE_FLASHLIGHT = 39; // // Item Drop Types const AG_ITEM_DROPTYPE_NONE = 0; // Can't be dropped @@ -248,4 +256,15 @@ const AG_ITEM_ACTION_PICKUP = 2; const AG_ITEM_ACTION_DROP = 3; const AG_ITEM_ACTION_SWITCH = 4; const AG_ITEM_ACTION_PUT = 5; -const AG_ITEM_ACTION_TAKE = 6; \ No newline at end of file +const AG_ITEM_ACTION_TAKE = 6; + +// Ped States +const AG_PEDSTATE_NONE = 2; +const AG_PEDSTATE_READY = 1; +const AG_PEDSTATE_DRIVER = 2; +const AG_PEDSTATE_PASSENGER = 3; +const AG_PEDSTATE_DEAD = 4; +const AG_PEDSTATE_ENTERINGPROPERTY = 5; +const AG_PEDSTATE_EXITINGPROPERTY = 6; +const AG_PEDSTATE_ENTERINGVEHICLE = 7; +const AG_PEDSTATE_EXITINGVEHICLE = 8; \ No newline at end of file