Radial Menu
Commands, Exports & Events
Commands, Exports & Events for Radial Menu.
Commands
| Command | Description |
|---|---|
/radialmenu (F1) | Open / close the menu |
/fixmenu | Reset the mouse focus |
Exports (client)
lua
exports.lg_radialmenu:Open()
exports.lg_radialmenu:Close()
local open = exports.lg_radialmenu:IsOpen()
-- Add a button at the top level (same format as config.lua). Returns its id.
local id = exports.lg_radialmenu:AddOption({
title = 'Garage', icon = 'fa-solid fa-warehouse', type = 'client', event = 'my-garage:open', shouldClose = true,
}, 'my_garage')
exports.lg_radialmenu:RemoveOption('my_garage')Events
| Event | Side | Description |
|---|---|---|
lg_radialmenu:client:open | client | Opens the menu |
lg_radialmenu:client:close | client | Closes the menu |
Last updated