Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

ui.Dialog

A dialog drawn for each player it is open for. Opening another dialog for a player replaces this one.

Signals

dialog.closed: types.Signal<types.Player>
#
read only

fires with the player when it closes for them, other than by close

Methods

dialog:close(from: types.Player | { types.Player })
#

closes it for a player or a list of players

dialog:open(to: types.Player | { types.Player })
#

opens it for a player or a list of players