User Tools

Site Tools


crpl:docs:func_showmessagedialogcallback

<- CRPL reference <- Vars and Functions

:ShowMessageDialogCallback

Description

Special function that is automatically called whenever the player clicks on one of the buttons in a dialog displayed by ShowMessageDialog. The identity of the button clicked is placed on the stack before this function is called.

ResultDescription
0Player clicked OK (left/blue button)
1Player clicked Cancel (right/red button)

Examples

See ShowMessageDialog for an example.

crpl/docs/func_showmessagedialogcallback.txt · Last modified: 2022/07/01 14:38 by Karsten75