Skip to Content

Configuration

All configuration is in config.lua.

General Settings

SettingTypeDefaultDescription
Config.Frameworkstring'esx'Framework: 'esx', 'qb', or 'qbx'
Config.Keybindstring'F1'Key to open the radial menu
Config.ToggleModebooleantruetrue = press to toggle, false = hold to keep open
Config.PrimaryColorstring'#FF0000'Hex color for the menu theme

Define items in Config.MenuItems:

Config.MenuItems = { { id = 'garage', label = 'Garage', icon = 'fas fa-warehouse', type = 'event', event = 'garages:open', args = {}, shouldClose = true, }, }

Item Fields

FieldTypeRequiredDescription
idstringYesUnique identifier
labelstringYesDisplay text
iconstringYesFontAwesome icon class (e.g. 'fas fa-home')
typestringYesAction type (see below)
shouldClosebooleanNoClose menu after selection (default: true)
jobstringNoRestrict to a specific job
gangstringNoRestrict to a specific gang

Action Types

TypeFieldsDescription
eventevent, argsTrigger a client event
server-eventevent, argsTrigger a server event
commandcommandExecute a command
functionfuncCall a Lua function
submenuitemsOpen a nested submenu
{ id = 'vehicle', label = 'Vehicle', icon = 'fas fa-car', type = 'submenu', items = { { id = 'engine', label = 'Toggle Engine', icon = 'fas fa-power-off', type = 'event', event = 'vehicle:toggleEngine', shouldClose = true, }, { id = 'doors', label = 'Lock/Unlock', icon = 'fas fa-lock', type = 'event', event = 'vehicle:toggleLock', shouldClose = true, }, }, }

Job/Gang Restricted Items

{ id = 'police_menu', label = 'Police Menu', icon = 'fas fa-shield-halved', type = 'submenu', job = 'police', items = { ... }, }

Items with job or gang fields are only shown to players with the matching job or gang.

Last updated on