Help with RCON
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/COMMAND")){
        if(IsPlayerAdmin(playerid)){ //The "IsPlayerAdmin" checks if the player is an RCON admin!
            //The command
        }
        else{ //If he's NOT an RCON admin
            //Do you wanna do something? Like a message?
        }
    }
    return 1;
}
So the "IsPlayerAdmin(playerid)"
Reply


Messages In This Thread
Help with RCON - by Djankaa - 11.03.2011, 19:16
Re: Help with RCON - by Kwarde - 11.03.2011, 19:17
Re: Help with RCON - by Djankaa - 11.03.2011, 19:30
Re: Help with RCON - by Kwarde - 11.03.2011, 19:56
Re: Help with RCON - by Djankaa - 12.03.2011, 07:47
Re: Help with RCON - by HyperZ - 12.03.2011, 08:10
Re: Help with RCON - by Kwarde - 12.03.2011, 09:39
Re: Help with RCON - by jejemonerz123 - 12.03.2011, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)