Files
ND_Core/ND_Core/config_client.lua
Andyyy7666 48746061d8 Update config_client.lua
Added a way to give multiple role permission to a department
2022-02-26 16:41:36 +01:00

114 lines
5.2 KiB
Lua

------------------------------------------------------------------------
------------------------------------------------------------------------
-- --
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6 --
-- --
------------------------------------------------------------------------
------------------------------------------------------------------------
config = {
serverName = "Andy's Development", -- Server name to display on the ui.
characterLimit = 15,
changeCharacterCommand = "changecharacter", -- this is the command to open the ui again and change your character.
-- set your backgrounds, if you have more than 1 then it will randomly change everytime you open the ui.
backgrounds = {
"https://i.imgur.com/E51ckFx.png", -- Credits: Fuzzman270#0270
"https://i.imgur.com/SeZD7TP.png", -- Credits: Fuzzman270#0270
"https://i.imgur.com/ZWKfYD9.png", -- Credits: 2XRondo#6374
"https://i.imgur.com/7jM5nZT.png" -- Credits: 2XRondo#6374
},
-- set up the name of your departments and the discord role id for permission. A role id of 0 will allow anyone to choose that department.
departments = {
["CIV"] = {"0"},
["SAHP"] = {"0"},
["LSPD"] = {"0"},
["BCSO"] = {"0"},
["LSFD"] = {"0"}
},
-- set up the spawn buttons for each department.
spawns = {
["CIV"] = {
{x = -102.78, y = 6336.28, z = 31.49, name = "Dream View Motel (Paleto Bay)"},
{x = 343.53, y = 2636.94, z = 43.94, name = "Eastern Motel (Sandy Shores)"},
{x = 196.96, y = -934.54, z = 29.69, name = "Legion Square"},
{x = -1616.69, y = -1073.81, z = 12.15, name = "Del Perro Pier"},
{x = -1039.65, y = -2741.02, z = 12.89, name = "LSIA"}
},
["SAHP"] = {
{x = -447.2, y = 6009.4, z = 30.72, name = "Paleto Bay Sheriff"},
{x = 1849.4, y = 3688.6, z = 33.27, name = "Sandy Shores Sheriff"},
{x = 437.6, y = -986.6, z = 29.69, name = "Mission Row PD"}
},
["LSPD"] = {
{x = -447.2, y = 6009.4, z = 30.72, name = "Paleto Bay Sheriff"},
{x = 1849.4, y = 3688.6, z = 33.27, name = "Sandy Shores Sheriff"},
{x = 437.6, y = -986.6, z = 29.69, name = "Mission Row PD"}
},
["BCSO"] = {
{x = -447.2, y = 6009.4, z = 30.72, name = "Paleto Bay Sheriff"},
{x = 1849.4, y = 3688.6, z = 33.27, name = "Sandy Shores Sheriff"},
{x = 437.6, y = -986.6, z = 29.69, name = "Mission Row Police "}
},
["LSFD"] = {
{x = -384.07, y = 6117.9, z = 30.48, name = "Fire Station No1 (Paleto Bay)"},
{x = 1691.5, y = 3597.95, z = 34.56, name = "Fire Station No2 (Sandy Shores)"},
{x = 1194.71, y = -1474.14, z = 33.86, name = "Fire Station No7 (Los Santos)"}
},
},
-- Money related
enableMoneySystem = true,
legacyMoneyDisplay = true, -- set to tru if you want to use the hud from my standalone money system.
maxStartingCash = 2500,
maxStartingBank = 8000,
payCommand = "pay", -- Command to transfer someone money from bank account.
giveCommand = "give", -- Command to give someone close money from wallet.
salaryAmount = 300, -- the daily amount that players will receive.
salaryInterval = 24, -- every x minutes the player will receive the salaryAmount.
-- Area of Play
enableAopCommand = true,
aopCommand = "setaop",
checkAopCommand = "aop",
defaultAop = "Sandy Shores",
canChangeAOP = { -- Roles that can change the aop. (The name doesn't matter it's just for you to remember the which id belongs to which role)
["ADMIN"] = "0",
["STAFF"] = "0"
},
-- Prority cooldown
enablePriorityCooldown = true,
startPriorityCommand = "prio-start",
stopPriorityCommand = "prio-stop",
cooldownPriorityCommand = "prio-cd",
cooldownAfterPriority = 10, -- This is how long a cooldown will start after a priority is stopped.
canSeePriority = { -- Departments that can see the priority status on their screen. (It's usually just useful for civs)
"CIV"
},
-- Dark web
enableDarkweb = true,
canSeeDarkweb = { -- Departments that can see and use the darkweb command.
"CIV"
},
-- Hide reticle or default gta money and ammo dispaly. WARNING: turning both to true will add a 0.01 to the resmon.
hideReticle = true, -- hide weapon reticle.
hideAmmoAndMoney = true, -- hides the default gta ammo & money.
customPauseMenu = true, -- this will create a custom pause menu. It will display your money, characters name. And server name in the pause menu.
-- Discord Rich precence
enableRichPrecence = true,
updateIntervall = 60, -- how many seconds delay until it updates status.
appId = 912361433273102356,
largeLogo = "anyydevlogo",
smallLogo = "anyydevlogo",
firstButtonName = "DISCORD",
firstButtonLink = "https://discord.gg/Z9Mxu72zZ6",
secondButtonName = "TEBEX",
secondButtonLink = "https://andyyy.tebex.io/category/fivem-scripts"
}