Target player to whom to show the dialog.
trueto show (or refresh),
Open/close the dialog for the target player.
Since the dialogs are created for all players, they are hidden by default. Then you display the dialog to players who should see and interact with it.
Technically, because every player knows about each dialog, cheaters could interact with dialogs that are invisible to them.
Dialogs can not be shown at map-init. Use a wait or a zero-timer to display it as soon as possible.
- return type
- Source code
native DialogDisplay takes player whichPlayer, dialog whichDialog, boolean flag returns nothing