Client Exports
OpenMenu
This export opens the card menu with the given options.
Example
Options
Mandatory
Option
Type
Purpose
line
integer
Maximum number of cards per line.
cards
table (array)
Cards data containing label
and image
as mandatory data, and any additional data for callback.
callback
function
Function called with the selected card data as argument.
canClose
boolean
Allows the player to close the menu with Esc.
color
string
Any CSS color (hex, color, rgba, ect.)
CloseMenu
This export closes the card menu.
Example
Last updated