A restricted-zone / lockdown system for FiveM / ESX. Authorized jobs (police, LSSD, FIB, …) create radius-based zones at their current location with configurable radii. Zones render as pulsing blips for every player and persist in the database.Documentation Index
Fetch the complete documentation index at: https://docs.apex-services.site/llms.txt
Use this file to discover all available pages before exploring further.
Features
- In-game
/restrictedzonescommand — opens an ESX menu to create/manage zones - Radius picker — 25 / 50 / 75 / 100 / 150 / 200m with preview blip
- Auto big-map activation when previewing large zones
- Pulsing radius blip — alternating colors, visible to all players
- Live sync via GlobalState — no manual refresh needed
- Automatic SQL table creation
- en/de localization
Requirements
Required
es_extended (uses ESX.UI.Menu), ox_lib, oxmysqlConfiguration
config.lua
Hooks
See Hooks reference / Restricted Zones. Key hooks:Hooks.HasPermission, Hooks.OnZoneCreated, Hooks.OnZoneDeleted.
Exports: refreshZones, getAllZones, isCoordInRestrictedZone, isInsideRestrictedZone.
Resource info
Code accessible:
config.lua, hooks.lua, locales/*. Approximately 600 lines of Lua. English + German.