28.03.2012, 14:38
i made a simple thing but does this cmd make sendersname on and off?cause thats what i want to do..
Warns:
(23672) : warning 202: number of arguments does not match definition
(23682) : warning 202: number of arguments does not match definition
PHP код:
if (strcmp("/ascn", cmdtext, true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
Line:(23672) ShowPlayerNameTagForPlayer(playerid,0);
}
GameTextForPlayer(playerid, "~W~Nume ~R~Oprit", 5000, 5);
return 1;
}
if (strcmp("/arn", cmdtext, true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
Line:(23682) ShowPlayerNameTagForPlayer(playerid, 1);
}
GameTextForPlayer(playerid, "~W~Nume ~R~pornit", 5000, 5);
return 1;
}
(23672) : warning 202: number of arguments does not match definition
(23682) : warning 202: number of arguments does not match definition