Features
NUI panel to create, edit, view and delete safe zones
Custom polygon boundaries with PolyZone
In-game point placement (noclip creator mode)
Per-zone configurable rules:
No weapons / no shooting / no melee
No damage (god mode)
Infinite stamina
No ragdoll
No run-overs
Vehicles blocked
Speed limit
Disarm on enter
Enter/exit notifications
Map blip
PolyZone debug
Compatible with ESX and QBCore
Zones persisted in
zones.jsonExports for other resources
Requirements
PolyZone — required
Installation
Put
RCY_SafeZonesin yourresourcesfolderMake sure PolyZone is installed
Add to your
server.cfg:
ensure PolyZone
ensure RCY_SafeZones
# Admin permission (optional but recommended)
add_ace group.admin rcy.safezones allowRestart your server
Usage
Command
Description
/safezones
Opens the management panel
Creating a zone
Run
/safezones— the tablet opensPress + New Zone
Step 1: Type the name
Step 2: Press Mark points — you enter noclip mode (invisible)
Aim with the camera and press E to place each vertex
WASD move · SPACE/CTRL up/down · SHIFT fast
ENTER finish · ESC cancel
Step 3: Set Min Z and Max Z (zone height)
Step 4: Configure the options
Press Save zone
Editing a zone
Select the zone in the side list
Change the name, height (Min Z / Max Z) or options
Use Redraw zone to change the polygon points
Press Save
Permissions
The script checks permissions in two ways (configurable in config.lua):
ACE:
rcy.safezonespermissionFramework: admin groups from ESX (
admin,superadmin,god) or QBCore (admin,god)
Configuration
Edit config.lua to customize:
Command and alias
Admin groups
Creator keys
Default zone height
Available options and defaults
Messages (locale: English / Spanish)
Default blip
Notes
Zones are stored in
zones.jsoninside the resource folderPolyZone debug is only visible to admins when the option is enabled
Adjust
minZandmaxZif the zone doesn't detect correctly in multi-storey buildings