Rcon admin
#4

pawn Код:
if(isPlayerAdmin(playerid) {
    // Player is an RCON admin
}
OR, if you want to check for all the players in-game (post #2 is wrong code)

pawn Код:
for(new i=0; i<MAX_PLAYERS; i++) {
    if(isPlayerAdmin(i)) {
        // Player i is RCON admin
        // Add them to a string, or print their name or w/e here
    }
}
Reply


Messages In This Thread
Rcon admin - by grantism - 17.10.2011, 05:17
Re: Rcon admin - by $India$ - 17.10.2011, 06:05
Re: Rcon admin - by Kush - 17.10.2011, 09:23
Re: Rcon admin - by Sinner - 17.10.2011, 09:23
Re: Rcon admin - by $India$ - 17.10.2011, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)