luckyscripts.DOCUMENTATION
LuckyScripts / Quick ActionsFIVEM FIELD GUIDE

Menus, theme & controls

Menus, theme & controls guide for LuckyScripts Quick Actions.

Check the example against your release

The menu-item snippet demonstrates alternative job forms and placeholder values. Choose one job value, replace placeholders, and complete the Lua table before using it.

Basic Settings

Config.OpenKey = "F3"           -- Menu toggle key
Config.KeyDescription = "Open Radial Menu"  -- Keybind description
Config.ThemeColor = "22c55e"    -- HEX color code (Theme color)
Config.RadialItems = {
    {
        id = "unique_id",           -- Unique ID
        icon = "fa-solid fa-user",  -- FontAwesome icon
        label = "Player",            -- Display name
        -- Optional fields:
        type = "client_event",      -- Event type (explained below)
        action = "openPlayerMenu",  -- Event/command to execute
        job = "police",             -- Only visible for this job (string)
        job = {"mechanic", "tuner"} -- Only visible for these jobs (array)
        submenu = { ... }           -- Submenu items
    }
}

To create a submenu under an item:

{
    id = "vehicle",
    icon = "fa-solid fa-car",
    label = "Vehicle",
    submenu = {
        { id = "engine", icon = "fa-solid fa-key", label = "Engine", type = "command", action = "engine" },
        { id = "doors", icon = "fa-solid fa-lock", label = "Doors", type = "client_event", action = "doors:all" },
        { id = "trunk", icon = "fa-solid fa-box-open", label = "Trunk", type = "client_event", action = "trunk" },
    }
}

⚠️ Note: Submenus are single-level only. Nested submenus are not supported.

Theme Color Customization

Config.ThemeColor is defined as a HEX color code:

Config.ThemeColor = "22c55e"  -- Green (default)
Config.ThemeColor = "3b82f6"  -- Blue
Config.ThemeColor = "ef4444"  -- Red
Config.ThemeColor = "f59e0b"  -- Yellow/Gold

The color is converted to RGB and applied to all UI elements:

  • Border glow effects
  • Icon colors
  • Hover animations
  • Active state colors

Keyboard Controls

KeyAction
F3Toggle menu
ESCClose menu
Mouse HoverItem selection
Left ClickTrigger action

LuckyScripts Quick Actions · Match configuration examples to your downloaded release.
Need a hand? Read the support guide ↗

On this page