A robust FiveM script for creating and managing safezones on your server. Protect players, disable combat, limit vehicle speed, and more—all fully configurable!
- Create multiple safezones with custom settings
- Disable weapons and combat in zones
- Limit vehicle speed
- Make players and vehicles transparent
- Show blips and markers
- Easy to use and highly customizable
- Download or clone this repository.
- Drag and drop the
fcn_safezonesfolder into yourresourcesdirectory. - Add
ensure fcn_safezonesto yourserver.cfg.
- Open
config.luato add or edit your safezones. - Each safezone can have its own radius, label, blip, and special options.
- Example safezone configuration:
Config.Safezones = {
{
label = "Legion Square",
coords = vector3(215.76, -810.12, 30.73),
radius = 50.0,
blip = {
sprite = 280,
color = 2,
scale = 1.0,
text = "Safezone"
},
notify = true,
textUI = true,
transparentPlayers = true,
transparentVehicles = true,
vehicleSpeedLimit = 30, -- mp/h
disableVehiclePlayerCollision = true,
showMarker = true,
invincible = true -- set "Godmode" to players inside
},
-- Add more safezones as needed
}Full documentation is available here: https://focaan.gitbook.io/docs
Enjoy and stay safe!