Quote:
Originally Posted by akki
one more help
please tell me the use and meaning of enum in the link you have just given
|
You won't need the enums, it's just an example script.
It should look like something like this:
Код:
ShowPlayerDialog(playerid, dialogid, style, header, items, button1, button2);
Playerid = The player that the dialog needs to be shown to
dialogid = An ID you assign to the dialog, to be used under OnDialogResponse
style = There are 4 styles: DIALOG_STYLE_MSGBOX: displays a messagebox, DIALOG_STYLE_INPUT: let users input a text/number DIALOG_STYLE_PASSWORD: let users put in a text/number, but you can't see it (only ***) & DIALOG_STYLE_LIST: Displays a list of options to the user
header = Title of the header, should be inside a " "
items = items/message you want to show to the player
button1 = the left button
button2 = the right button