Unknown Command for ID 25+
#4

It is better change your commands to these ones .


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 , so, you have to put the ShowPlayerStats function here in the thread .


I hope that i have helped .
Reply


Messages In This Thread
Unknown Command for ID 25+ - by Lynn - 25.06.2011, 17:57
Re: Unknown Command for ID 25+ - by Willow - 25.06.2011, 18:03
Re: Unknown Command for ID 25+ - by Lynn - 25.06.2011, 18:13
Re: Unknown Command for ID 25+ - by rjjj - 25.06.2011, 18:16
Re: Unknown Command for ID 25+ - by shitbird - 25.06.2011, 18:16
Re: Unknown Command for ID 25+ - by gimini - 25.06.2011, 18:17
Re: Unknown Command for ID 25+ - by Lynn - 25.06.2011, 19:50
Re: Unknown Command for ID 25+ - by Jefff - 25.06.2011, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)