[HELP]Little Warning :D
#1

Hi,

I got warning 202: number of arguments does not match definition warning, how to fix that?

PHP код:
            if(listitem == 0ShowPlayerDialog(playeridDIALOG_DRIFTMAPDIALOG_STYLE_LIST"Drift1 (/drift) \nDrift2 (/drift2) \nDrift3 (/drift3) \nDrift3 (/drift4) \nDrift5 (/drift5)""Teleport""Cancel"); 
PHP код:
warning 202number of arguments does not match definition warninghow to fix that
Reply
#2

pawn Код:
if(listitem == 0) ShowPlayerDialog(playerid, DIALOG_DRIFTMAP, DIALOG_STYLE_LIST, "Drift1 (/drift) \nDrift2 (/drift2) \nDrift3 (/drift3) \nDrift3 (/drift4) \nDrift5 (/drift5)", "Teleport", "Submit", "Cancel");
Reply
#3

You forgot the "title" of the dialog.
Quote:

ShowPlayerDialog(playerid, DIALOG_DRIFTMAP, DIALOG_STYLE_LIST, "Title here", "Drift1 (/drift) \nDrift2 (/drift2) \nDrift3 (/drift3) \nDrift3 (/drift4) \nDrift5 (/drift5)", "Teleport", "Cancel");

Reply
#4

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
pawn Код:
if(listitem == 0) ShowPlayerDialog(playerid, DIALOG_DRIFTMAP, DIALOG_STYLE_LIST, "Drift1 (/drift) \nDrift2 (/drift2) \nDrift3 (/drift3) \nDrift3 (/drift4) \nDrift5 (/drift5)", "Teleport", "Submit", "Cancel");
Thanks, FIXED
Reply
#5

Quote:
Originally Posted by Mya
Посмотреть сообщение
Thanks, FIXED
The title should be on the other side of the Drift's, like i showed you.
Reply
#6

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
The title should be on the other side of the Drift's, like i showed you.
Oh, yeah. I wasn't paying attention
Reply
#7

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
The title should be on the other side of the Drift's, like i showed you.
Thanks, SickAttack make my server error xD but compile sucsess

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Oh, yeah. I wasn't paying attention
:P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)