Config File
Config = {}
--[IMPORTANT]------------------------------------------------------------------------------------------------------------------------------------------------
Config.Framework = 'newesx' -- oldesx / newesx / oldqb / newqb
Config.VersionChecker = true -- true / false -- [ I recommend.. ]
Config.Debug = false -- true / false
--[MAIN]-----------------------------------------------------------------------------------------------------------------------------------------------------
Config.AuthorizedJobs = { 'police', 'ambulance', 'mechanic' } -- [ If you want to add a new job, then you have to add it here and in the "Config.JobSettings" too for customization! ]
Config.JobZonesCommand = 'cs-jobzones' -- [ This commnad actually can be anything ]
Config.EnableAgreeMenu = true -- [ A menu where you can confirm to open the menu or not ]
Config.EnableNotifications = true -- [ enable notifications if someone enters the zone ]
Config.PublicZones = {
[1] = {
coords = vector3(225.65, -786.12, 30.87),
radius = 30.0,
name = 'Public Zone 1',
disarm = true, -- [ disarm player ]
carslowdown = true, -- [ slow downs a car ]
maxspeed = 20.0 -- [ only if "carslowdown" value is true ]
}
}
Config.RemoveNPC = true -- [ removes the npcs in the zones ]
Config.JobSettings = { -- [ https://docs.fivem.net/docs/game-references/blips/ ]
['police'] = {
blips = { title = 'Police Zone', sprite = 60, color = 29, size = 0.7 },
},
['ambulance'] = {
blips = { title = 'Ambulance Zone', sprite = 61, color = 1, size = 0.7 },
},
['mechanic'] = {
blips = { title = 'Mechanic Zone', sprite = 446, color = 39, size = 0.7 },
}
}
--[NOTIFICATIONS]--------------------------------------------------------------------------------------------------------------------------------------------
Config.NotificationSystem = 'ox-notification' -- codem-notification / carotto-notification / ox-notification / okok-notification
Last updated