---@param data {center: vector3, size: vector3, heading: number?, debug: boolean?} ---@param options {name: string?, label: string, icon: string?, distance: number?, item: string?, canInteract: (fun(entity: integer, distance: number): boolean?)?, onSelect: fun()?, event_type...
Create a item by calling AddButton, AddConfirm, AddRange, AddCheckbox or AddSlider in the created menu /** CREATE A BUTTON */ menu:AddButton({ icon: string, label: string, description: string, value: any, disabled: boolean }); /** CREATE A CONFIRM */ menu:AddConfirm({ icon: string...
icon = 'fa-solid fa-circle-notch', iconAnimation = 'spin', arrow = true, image = 'https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=' .. url }, } }) lib.showContext('create_anim_qr_code') end function NotifyProcessUpdate(data) lib.notify({ id = 'process_update...
Expand Up @@ -105,5 +105,5 @@ fetch(`https://${GetParentResourceName()}/getItemInfo`, { To prevent requests from stalling, you **have to** return the callback at all times - even if containing just an empty object, or `{"ok":true}`, or similar. [registernuicallback]: /scri...