Click or drag to resize

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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public 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