Number of argument error - 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: Number of argument error (
/showthread.php?tid=586309)
Number of argument error - Whatwasit - 21.08.2015
Hello,
I would like to know how can I fix an error like this.
Код:
C:\Users\User\Documents\gamemods\test(38822) : warning 202: number of arguments does not match definition
C:\Users\User\Documents\gamemodes\test.pwn(38833) : warning 202: number of arguments does not match definition
Re: Number of argument error -
Battlezone - 21.08.2015
Show us the lines
Re : Number of argument error - Whatwasit - 21.08.2015
38822 : strcat(pDialog, "Score: %d", GetPlayerScore(playerid), sizeof(pDialog));
38833 : ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX, "Stats","Ok", "");
Re: Number of argument error -
Battlezone - 21.08.2015
Код:
format(pDialog, sizeof pDialog, "%s Score: %d", pDialog, GetPlayerScore(playerid));
ShowPlayerDialog(playerid, 125, DIALOG_STYLE_MSGBOX, "Stats",pDialog, "Ok", "");