FiveM Admin Zone
A very basic script that administrators can use for staff tasks like setting up admin areas. As a result, other players are aware of the staff issue.
📁 File: config.lua
config.luaFull Example:
config = {}
config.message = "~r~You are near an staff situation, please stay away."
config.text = {
x = 0.45,
y = 0.0
}
config.defaultRadius = 100 -- Default radius for the zone (in game units/metres)
config.maxRadius = 100 -- Maximum allowed radius
config.perms = {
useFramework = true,
frameworkName = "framework", -- Your framework resource name (e.g., "esx", "qb-core")
departmentLevel = "admin_level", -- The permission key/level inside your framework
acePerms = "zone.clear" -- Fallback ACE permission if framework is disabled
}🔔 What It Does
🧾 Configuration Breakdown
🧨 config.message
config.message🧭 config.text
config.text📏 config.defaultRadius & config.maxRadius
config.defaultRadius & config.maxRadius🔐 Permissions Setup
✅ Framework Mode
🔒 ACE Permissions Mode
✅ Summary
Setting
Purpose
Last updated