23.04.2009, 10:56
-----------------------------------------
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
-----------------------------------------
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
-----------------------------------------