MessageDialog Constructor |
Initializes a new instance of the MessageDialog class.
Namespace:
SampSharp.GameMode.Display
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic MessageDialog(
string caption,
string message,
string button1,
string button2 = null
)
Parameters
- caption
- Type: SystemString
The title at the top of the dialog. The length of the caption can not exceed more than 64
characters before it starts to cut off.
- message
- Type: SystemString
The text to display in the main dialog. Use \n to start a new line and \t to tabulate. - button1
- Type: SystemString
The text on the left button. - button2 (Optional)
- Type: SystemString
The text on the right button. Leave it blank to hide it.
See Also