warning 202: number of arguments do not match definition - 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 do not match definition (
/showthread.php?tid=608995)
warning 202: number of arguments do not match definition -
Krexx - 07.06.2016
C:\Users\Krexx\Desktop\Salem Role Play\gamemodes\SRP.pwn(570) : warning 202: number of arguments does not match definition
C:\Users\Krexx\Desktop\Salem Role Play\gamemodes\SRP.pwn(574) : warning 202: number of arguments does not match definition
C:\Users\Krexx\Desktop\Salem Role Play\gamemodes\SRP.pwn(57
![Cool](images/smilies/cool.gif)
: warning 202: number of arguments does not match definition
C:\Users\Krexx\Desktop\Salem Role Play\gamemodes\SRP.pwn(582) : warning 202: number of arguments does not match definition
C:\Users\Krexx\Desktop\Salem Role Play\gamemodes\SRP.pwn(586) : warning 202: number of arguments does not match definition
Lines:
Код:
case 0: // General Commands
{
ShowPlayerDialog(playerid, DIALOG_HELP_1, DIALOG_STYLE_MSGBOX, "/me /do /s(hout) /l(ow) /b(local OOC chat) /a(nnotated)me /coin", "OK", "Back");
}
case 1: // Animations
{
ShowPlayerDialog(playerid, DIALOG_HELP_2, DIALOG_STYLE_MSGBOX, "Animations have not been created as of yet", "OK", "Back");
}
case 2: // Job Commands
{
ShowPlayerDialog(playerid, DIALOG_HELP_3, DIALOG_STYLE_MSGBOX, "Job Commands have not been created as of yet", "OK","Back");
}
case 3: // Business Commands
{
ShowPlayerDialog(playerid, DIALOG_HELP_4, DIALOG_STYLE_MSGBOX, "Business Commands have not been created as of yet", "OK","Back");
}
case 4: // FAQ (Frequently Asked Questions)
{
ShowPlayerDialog(playerid, DIALOG_HELP_5, DIALOG_STYLE_MSGBOX, "Future Reference", "OK","Back");
}
Re: warning 202: number of arguments do not match definition -
oMa37 - 07.06.2016
You forget the title(caption[]) in the
ShowPlayerDialog
Re: warning 202: number of arguments do not match definition -
Krexx - 07.06.2016
Quote:
Originally Posted by oMa37
|
Ah, thank you!
Re: warning 202: number of arguments do not match definition -
Krexx - 07.06.2016
I come across a new error but this time it's when I test the /help command.
![](http://www.upload.ee/image/5866410/sa-mp-016.png)
As you can see, it gives me the dialog but it says "Unknown Command" in the background and when I click on one, another dialog does not pop up with the commands as it is supposed to. Any suggestions on what's wrong?