Command Help
#3

pawn Code:
if(strcmp(cmdtext, "/command", true) == 0)
{
    if(PlayerInfo[playerid][pAdmin] > 0) //If playerid isn't a admin, he can't type this.
    {
        //Your command
    }
    else SendClientMessage(playerid, -1, "You aren't admin.");
    return 1;
}
Reply


Messages In This Thread
Command Help - by Armageddonz - 10.08.2015, 16:01
Re: Command Help - by nmader - 10.08.2015, 16:05
Respuesta: Command Help - by Yerro - 10.08.2015, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)