[NL]PlayerID warning. Help me. - 
Jokerr_mayne -  23.04.2009
----------------------------------------- 
ENGLISH
-----------------------------------------
l have greated a /pmspecoff and /pmspec script,
but there are 2 warnings, i dont know how i this must remedy.
i need help 
 
if(strcmp(cmd, "/pmspec", true) == 0)
	{
 		if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, 3);      <=== there is the warning
 	 	SendClientMessage(playerid, COLOR_DBLUE, "Now watching all PM's in the Server.");
		return 1;
 	}
	if(strcmp(cmd, "/pmspecoff", true) == 0)
	{
    if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, 3); <=== there is the warning
    PlayerInfo[playerid][pAdmin] = 0;
    SendClientMessage(playerid, COLOR_DBLUE, "PM Spec Canceled.");
		return 1;
 }
is the script.
and this is the
Error:
penls.pwn(15721) : warning 202: number of arguments does not match definition
penls.pwn(15727) : warning 202: number of arguments does not match definition
-----------------------------------------
NETHERLANDS
-----------------------------------------
kheb een /pmspeccoff en /pmspec script gemaakt,
Maar er zijn 2 warnings, kweet niet hoe k het moet verhelpe.
Hulp nodig.. 
 
if(strcmp(cmd, "/pmspec", true) == 0)
	{
 		if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, 3);       <== daar is de waarschuwing
 	 	SendClientMessage(playerid, COLOR_DBLUE, "Now watching all PM's in the Server.");
		return 1;
 	}
	if(strcmp(cmd, "/pmspecoff", true) == 0)
	{
    if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, 3);  <=== daar is de waarschuwing
    PlayerInfo[playerid][pAdmin] = 0;
    SendClientMessage(playerid, COLOR_DBLUE, "PM Spec Canceled.");
		return 1;
 }
dit is het script, en dit is de 
Error:
penls.pwn(15721) : warning 202: number of arguments does not match definition
penls.pwn(15727) : warning 202: number of arguments does not match definition
-----------------------------------------
Re: [NL]PlayerID warning. Help me. - 
ettans -  23.04.2009
Please show the lines 15721-12727
Re: [NL]PlayerID warning. Help me. - 
Pyrokid -  23.04.2009
SendClientMessage needs a color argument.
SendClientMessage(playerid,COLOR,"text");
Re: [NL]PlayerID warning. Help me. - 
mamorunl -  23.04.2009
still.. where the hell do you get that '3' from?
Re: [NL]PlayerID warning. Help me. - 
Jokerr_mayne -  23.04.2009
Quote:
| 
					Originally Posted by [NT
 Mamoru ]still.. where the hell do you get that '3' from?
 | 
 that have place me friend there, he's did it with Teamviewer, but i dont know what i must do now.
SendClientMessage(Playerid,COLOR_DBLUE 3) does not work
then comes 4 errors
Re: [NL]PlayerID warning. Help me. - 
harly -  23.04.2009
Код:
return SendClientMessage(playerid,COLOR_DBLUE, "3");
 Notice the " and ". You gotto add them.
Re: [NL]PlayerID warning. Help me. - 
mamorunl -  24.04.2009
Quote:
| 
					Originally Posted by harly 
 
Код: return SendClientMessage(playerid,COLOR_DBLUE, "3"); Notice the " and ". You gotto add them. | 
 that is the worst message ever recieved I think 
