25.06.2011, 18:16
It is better change your commands to these ones
.
You said only these commands are sending the Unknown Command message
, so, you have to put the ShowPlayerStats function here in the thread
.
I hope that i have helped
.

pawn Код:
CMD:stats(playerid, params[])
{
#pragma unused params
ShowPlayerStats(playerid, playerid);
return true;
}
CMD:check(playerid, params[])
{
#pragma unused params
new giveplayerid;
if(IsAdmin(playerid,1))
{
if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "{F3FF02}USAGE:{33AA33} /check [playerid]");
ShowPlayerStats(playerid, giveplayerid);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not authorized to use this command !");
}
return true;
}
You said only these commands are sending the Unknown Command message


I hope that i have helped
