What is this ?
It’s a simple PoliceZone script that allows you to create a zone on the map & minimap.
You can full Config the scripts, i will bring an update soon where you can config the job.
With /policezone you can create the zone.
QBCore version soon!
Ready to download ? (1$)
Discord : Lone Development
- Update V.1.2
- Added + Debug
- Added ESX Syntax Control
- Added OxMySQL
- Added DataBase Control
- Added ConfigSYX – Just ignore
- Added New locale options
- Added AllowedJobs
- Fixed locale problem
- Fixed known bugs
The new Config:
JConfig = JConfig or {}
JConfig.ESX = true -- Use ESX ?
JConfig.QBCore = nil -- LET THIS ON NIL QB VERSION RELEASING SOON...
JConfig.Language = 'en'-- Set your Language
--V1
JConfig.ZoneRadius = '20' -- == 20 Meter
JConfig.ZoneCommand = 'pdzone' -- Enter your command to execute the Event
JConfig.NotifyImage = 'CHAR_CALL911' -- Classic it's the 991 GTA Logo. To change goto https://wiki.rag-e.mp/index.php?title=Notification_Pictures and copy the "Picture Name". For this there is no debug option avaible
--V1.1
JConfig.Debug = true -- Debug IMPORTANT THIS IS A BETA VERSION OF DEBUG!
JConfig.EsxSyntax = 'esx:getSharedObject' -- DO NOT CHANGE IF YOU DON'T KNOW WHAT YOU DO!
JConfig.ConfigSYX = 'JConfig' -- DO NOT CHANGE IF YOU DON'T KNOW WHAT YOU DO!
JConfig.Oxmysql = false -- FOR CHECKING JOB IF EXISTS (UPDATED)
JCOnfig.DataBase = true -- DO NOT CHANGE IF YOU DON'T KNOW WHAT YOU DO!
JConfig.AllowedJobs = 'police' -- AT THE MOMENT ONLY AMBULANCE OR POLICE
JConfig.DiscordLogs = nil -- It have a function but it don't work, it's in fix
-- Config Locales
JConfig.Languages {
['en'] = {
['notifyzonemessage'] = 'The LSPD/AMBULANCE called a dangerzone!',-- Change to your job
['notifyzonetitle'] = 'LSPD/AMBULANCE Messages', -- Change to your job
['notifyzonesubtitle'] = 'LSPD/AMBULANCE dangerzone',-- Change to your job
['notifynotallowedmsg'] = 'You are not allowed to execute this command',
},
['de'] = {
['notifyzonemessage'] = 'Das LSPD/AMBULANCE ruft eine Speerzone aus',-- Change to your job
['notifyzonetitle'] = 'LSPD/AMBULANCE Nachrichten',-- Change to your job
['notifyzonesubtitle'] = 'LSPD/AMBULANCE Speerzone',-- Change to your job
['notifynotallowedmsg'] = 'Du bist nicht berechtigt diesen command auszuführen.'
}
}
Do you find an error?
Please let me know. I will fix as soon as possible, i really appreciate feedback.
Credits
J-Development (https://jdevelopment-store.tebex.io)
Code is accessible | No (Secured with KeyMaster) |
Subscription-based | No |
Lines (approximately) | 500 |
Requirements | N/A |
Support | Yes |