This repository was archived by the owner on Apr 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Configuration
Nick Perry edited this page Dec 5, 2020
·
5 revisions
Config = {}
Config.Groups = {
{
-- Group Name
group = 'superadmin',
-- Job to set when on duty
job = 'admin',
-- Grade of job to set when on duty
grade = 0,
-- Car model name
car ='tahoeb',
-- Car Livery ID
vehlivery = 0,
-- Enabled Car Extras
extras = {4,11},
-- Ped Hash
ped = -2039072303,
-- Ped Variation in table, {componentid, the textureID, the colorID}
pedvari = {
{component=8,texture=2,color=1},
{component=3,texture=2,color=1},
{component=9,texture=2,color=1},
{component=8,texture=1,color=1}
},
-- Ped Prop in table, {componentid, the textureID, the colorID}
pedprop = {
{component=0,texture=2,color=2,attach=true},
},
-- God the player on admin mode
god= true,
-- heal the player on admin mode (includes hunger/thirst/drugs if ESXStatus is Enabled)
heal= true,
},
}
-- Enable if using ESX Status
Config.ESXStatus = true
- Group -- The name of the group in which you want to enable admin mode for
- Job -- The name of the job that you want to set the user to when they enable admin mode
- Grade -- The grade of the job that you want to set the user to when they enable admin mode
- Car -- The name of the car model that you want to auto spawn when admin mode is enabled
- Vehlivery -- The ID of the livery that you want the auto spawned car to have
- Extras -- Ids of the extras you want enabled in table form
- Ped -- HASH of ped you want to set for the user
- Pedvari -- List of components you want to set on the ped (see Setting Components)
- Pedprops -- List of props you want to set on the ped (see Setting Props)
- God -- If enabled, sets the user into god mode when enabling admin mode
- Heal -- Heals the player when going into god mode
Config.ESXStatus - When healing, this also sets the players hunger and thirst to full, and removes any drug or alcohol effects.
Add More tables to account for more groups.