Radial Menu

Commands, Exports & Events

Commands, Exports & Events for Radial Menu.

View in store

Commands

CommandDescription
/radialmenu (F1)Open / close the menu
/fixmenuReset 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

EventSideDescription
lg_radialmenu:client:openclientOpens the menu
lg_radialmenu:client:closeclientCloses the menu

Last updated