SA-MP Forums Archive
warning 202: number of arguments does 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 does not match definition (/showthread.php?tid=556310)



warning 202: number of arguments does not match definition - Jihanz - 10.01.2015

HELP ME PLEASE

what it this

Код:
C:\Users\Administrator\Documents\GTA San Andreas User Files\server\gamemodes\JIHANRAMADHAN.pwn(493) : warning 202: number of arguments does not match definition
Line 493

Код:
CMD:gofish(playerid, params[])
{
	new pName[MAX_PLAYER_NAME], string[128];
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid, -2105.3228, -124.2982, 37.2531);
	format(string, sizeof(string), " %s Telah Mengunjungi Pemancingan ", pName);
	SendClientMessageToAll(playerid, COL_HIJAU, string);
	return 1;
}



Re: warning 202: number of arguments does not match definition - HY - 10.01.2015

pawn Код:
CMD:gofish(playerid, params[])
{
   new pName[MAX_PLAYER_NAME], string[128];
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -2105.3228, -124.2982, 37.2531);
    format(string, sizeof(string), " %s Telah Mengunjungi Pemancingan ", pName);
    SendClientMessageToAll(COL_HIJAU, string);
    return 1;
}
SendClientMessageToAll doesn't have "playerid" parameter.


Re: warning 202: number of arguments does not match definition - Jihanz - 10.01.2015

THANKS FOR HELP ME