this resource will add safezones with NPCs that will engage players carrying weapons.
it can be used in eather safezones or other locations like
policestation
hospital
Features
Configurable safe zones with NPCs
NPCs equipped with configurable weapons
NPCs can be invincible and freeze in place
Blips indicating safe zones
config
Config = {
SafeZones = {
-- EXAMPLE SAFEZONE
-- police
{
coords = vector3(431.13, -978.57, 30.71),
radius = 50.0, -- anotherRadius
blipradius = 1.5,
showblip = false,
blipsprite = 120,
blipscale = 0.9,
blipcolor = 2,
blipname = "Military Safe Zone",
npcs = {
model = "s_m_y_hwaycop_01",
weapons = {"WEAPON_ASSAULTRIFLE", "WEAPON_CARBINERIFLE", "WEAPON_COMBATMG"},
invincible = true, -- this makes invincible
freeze = true, -- This option enables freezing NPCs
positions = {
[1] = vector4(431.13, -978.57, 29.71, 90.26),
[2] = vector4(430.88, -985.67, 29.71, 90.69),
-- Add more positions as needed
}
}
},
-- hospital
{
coords = vector3(298.35, -584.74, 43.26),
radius = 50.0, -- anotherRadius
blipradius = 1.5,
showblip = false,
blipsprite = 120,
blipscale = 0.9,
blipcolor = 2,
blipname = "Military Safe Zone",
npcs = {
model = "s_m_y_cop_01",
weapons = {"WEAPON_ASSAULTRIFLE", "WEAPON_CARBINERIFLE", "WEAPON_COMBATMG"},
invincible = true, -- this makes invincible
freeze = true, -- This option enables freezing NPCs
positions = {
[1] = vector4(297.24, -586.6, 42.26, 73.11),
[2] = vector4(298.75, -581.22, 42.26, 81.63),
-- Add more positions as needed
}
}
},
-- Add more safe zones if needed
}
}
Tebex : here
Preview :
Other Scripts
AdvancedZombieSystem
RobberyCreator
LootPeds
RadiationZones
ZombieSystem
Shop
WeatherSync
PhoneStoreRobbery
InGameMusic
CamperHousing
LootBags
Support:
you can join my discord for any support ! Sinor System
Code is accessible | Config |
Subscription-based | No |
Lines (approximately) | 200+ |
Requirements | FiveM |
Support | Yes |