Use Coupon WELCOME to save 20%

$ USD
  • $ USD
  • € EUR
  • £ GBP
  • $ AUD
  • R$ BRL
  • CHF CHF
  • ¥ JPY
Zone Creator Standalone Tool for FiveM

Zone Creator Standalone Tool for FiveM

CaseIRL’s Zone Creator is a standalone Lua editor for drawing zone boundaries and emitting local zone events. The current repository includes zones.lua, fxmanifest.lua, a README and an MIT license. It does not include automatic shared storage, a database integration or gameplay rules for the zones you create.

Use the exact permission name

You can load the supplied resource or add zones.lua as a shared_script in your own fxmanifest.lua. Grant zone_creator.use to your intended ACE group and assign only the intended administrators to that group. The commands /zones:create and /zones:debug check that exact permission on the server. A later code comment omits the underscore; zonecreator.use does not match the actual check.

The creator controls use W/A/S/D to move, Q/E for height, Shift/Ctrl for speed, F to add a point, X to undo, Enter to name and save, G for debug and Backspace to exit. At least three points are required to finish. Test creation and normal exit in a development session before giving the tool to staff.

Understand what a saved zone means

The containment function checks a convex polygon using X and Y only. It does not enforce a vertical height range or validate that a drawn shape is convex. Use ordered, non-crossing convex boundaries and test points inside, outside and on the edge; stacked interiors and concave shapes need additional handling.

Created zones live in a client-local all_zones table. Saving emits the local zone_created event with coordinates and player information and prints a message; it does not write a server file or database or synchronize other players. Add an authorized server storage and loading path if zones must survive reconnects or resource restarts.

Event names use the running resource name as their prefix, followed by :zone_created, :entered_zone, :inside_zone or :left_zone. The state loop waits 250 milliseconds and checks zones only after movement of at least 0.5 units. Consequently, inside_zone is not a continuous timer while the player stands still. Connect your gameplay logic to the actual event behavior.

Reviewed on 11 September 2026 at repository commit 4f5a8a0ea373ad2c1e8d2324cac501577dfd3c08: complete Lua source, manifest, README and license, with archive integrity checked. The supplied code was not executed in FiveM and no performance result was measured. Retain the MIT copyright and license notice when distributing copies or substantial portions.

Open CaseIRL’s original Zone Creator repository

Read the official Cfx ACE command reference