Skip to main content
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.

Features

  • In-game /restrictedzones command — 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, oxmysql

Configuration

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.