From 4d3a7c760234849d76cd164d73f39da7173d4360 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 23 Dec 2020 23:02:01 -0600 Subject: [PATCH] Add ban type constants --- scripts/server/const.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/server/const.js b/scripts/server/const.js index 6ed7b529..6a7cfe65 100644 --- a/scripts/server/const.js +++ b/scripts/server/const.js @@ -81,4 +81,11 @@ const AG_JOBWORKTYPE_SERVICE = 3; // Services to other players and NPCs. Taxi ri const AG_VEHSEAT_DRIVER = 0; const AG_VEHSEAT_FRONTPASSENGER = 1; const AG_VEHSEAT_REARLEFTPASSENGER = 2; -const AG_VEHSEAT_REARRIGHTPASSENGER = 3; \ No newline at end of file +const AG_VEHSEAT_REARRIGHTPASSENGER = 3; + +// Ban Types +const AG_BANTYPE_NONE = 0; +const AG_BANTYPE_ACCOUNT = 1; +const AG_BANTYPE_SUBACCOUNT = 2; +const AG_BANTYPE_IPADDRESS = 3; +const AG_BANTYPE_SUBNET = 4; \ No newline at end of file