6-services - Exclusion Zone
→ Preview Video | ![]()
→ Buy Here | ![]()
Features:
- Create Zone (PD, FBI, MD, or what you want)
- Multiple zones
- All can remove your zone
- Remove only possible inside the zone
- Best performance (Because of no Thread with tick)
- Supports ESX
- Discord Support
- Easy setup
Config = {}
Config.JobAccess = {
'police',
'ambulance',
}
Config.JobNames = {
['police'] = {
jobname = "SA Police Department",
img = "WEB_LOSSANTOSPOLICEDEPT",
blipname = "Exclusion Zone LSPD",
blip = { -- PD Icon
Sprite = 60,
Display = 4,
Scale = 0.8,
Colour = 3,
},
blip2 = { -- Circle radius colour | Blue/Red
Colour = 4,
Colour2 = 38,
}
},
['ambulance'] = {
jobname = "LS Medical Center",
img = "CHAR_CALL911",
blipname = "Exclusion Zone LSMD",
blip = { -- MD Icon
Sprite = 61,
Display = 4,
Scale = 0.8,
Colour = 1,
},
blip2 = { -- Circle radius colour | Blue/Red
Colour = 4,
Colour2 = 38,
}
}
}
Config.DistanceMinimum = 125
Config.DistanceMaximum = 500
-- Commandnames
Config.AddZone = "addzone"
Config.RemoveZone = "removezone"
function addnotify(jobname, street, radius, img)
ESX.ShowAdvancedNotification(jobname, "~r~Exclusion ~b~zone~s~", 'A exclusion zone has been declared on ~r~'..street..'~s~. ~y~ Radius: '..radius..'m~s~', img, 1)
Wait(3000)
ESX.ShowAdvancedNotification(jobname, "~r~Exclusion ~b~zone~s~", 'If approached, individuals can expect more ~r~severe measures~s~.', img, 1)
end
function removenotify(jobname, street)
ESX.ShowAdvancedNotification(jobname, "~r~Exclusion ~b~zone~s~", "The exclusion zone zone on ~r~"..street.."~s~ has been removed!", "WEB_LOSSANTOSPOLICEDEPT", 1)
end
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 250 |
| Requirements | ESX |
| Support | Yes |
