SA-MP Forums Archive
warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) (/showthread.php?tid=522400)



warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) - PawnOX - 27.06.2014

Код:
ShowPlayerDialog(playerid, DIALOG_BBHELP, DIALOG_STYLE_MSGBOX, titlestring , string, string2 , "Okay", "");
Error is coming from that!

How can i fix it?


Re: warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) - PrivatioBoni - 27.06.2014

(playerid, DIALOG_BBHELP, DIALOG_STYLE_MSGBOX, titlestring , string, string2 , "Okay", "");
(playerid, dialogid, style, caption[], info[], button1[], button2[])

You have 2 'info[]'


Re: warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) - PawnOX - 27.06.2014

Quote:
Originally Posted by PrivatioBoni
Посмотреть сообщение
(playerid, DIALOG_BBHELP, DIALOG_STYLE_MSGBOX, titlestring , string, string2 , "Okay", "");
(playerid, dialogid, style, caption[], info[], button1[], button2[])

You have 2 'info[]'
Doesn't work


Re: warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) - Beckett - 27.06.2014

Quote:
Originally Posted by PawnOX
Посмотреть сообщение
Doesn't work
What doesn't work did you even understand what he said.


Re: warning 202: number of arguments does not match definition (( SHOWPLAYERDIALOG EDITION )) - AiRaLoKa - 27.06.2014

you only doesn't get what PrivatoBoni said.

he mean that you got 2 info. string and string2. remove one of them