warning 202: number of arguments does not match definition
#1

Could someone tell me how many arguments there is in the ShowPlayerDialog function ?

Here is my script :

ShowPlayerDialog(playerid,19343,DIALOG_STYLE_MSGBO X,"Server Owner",string, "Back");


What did i do wrong in my script ?
Reply
#2

pawn Код:
ShowPlayerDialog(playerid,19343,DIALOG_STYLE_MSGBOX, "Server Owner", string,  "Back", "");
(playerid, dialogid, style, caption[], info[], button1[], button2[])

you were missing the 2nd button
Reply
#3

Quote:
Originally Posted by brandypol
Посмотреть сообщение
Could someone tell me how many arguments there is in the ShowPlayerDialog function ?

Here is my script :

ShowPlayerDialog(playerid,19343,DIALOG_STYLE_MSGBO X,"Server Owner",string, "Back");


What did i do wrong in my script ?
ShowPlayerDialog(playerid,19343,DIALOG_STYLE_MSGBO_X,"Server Owner",string, "Back");
Idk if that was a copy n paste error but you have a space in MSGBOX
pawn Код:
ShowPlayerDialog(playerid,19343,DIALOG_STYLE_MSGBOX,"Server Owner",string, "Back","");
Reply
#4

Quote:
Originally Posted by PaYkOK
Посмотреть сообщение
pawn Код:
ShowPlayerDialog(playerid,19343,DIALOG_STYLE_MSGBOX, "Server Owner", string,  "Back", "");
(playerid, dialogid, style, caption[], info[], button1[], button2[])

you were missing the 2nd button
Thanks a lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)