[URGENT] How to print to all rcon admins?
#5

Works only in FS
pawn Код:
public OnRconCommand(cmd[])
{
    if(!strcmp(cmd,"admins",true,6)) {
        new Nick[24],bool:Online;
        print("Admins OnLine:");
        for(new i,g=GetMaxPlayers(); i < g; i++) if(IsPlayerConnected(i) && IsPlayerAdmin(i))
        {
            GetPlayerName(i,Nick,24);
            printf("%s (ID: %d)",Nick,i);
            Online=true;
        }
        if(!Online) print("* No Admins OnLine");
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[URGENT] How to print to all rcon admins? - by Micko9 - 11.06.2010, 22:20
Re: [URGENT] How to print to all rcon admins? - by (.Aztec); - 11.06.2010, 22:26
Re: [URGENT] How to print to all rcon admins? - by NiiRV4N4 - 11.06.2010, 22:34
Re: [URGENT] How to print to all rcon admins? - by (.Aztec); - 11.06.2010, 22:35
Re: [URGENT] How to print to all rcon admins? - by Jefff - 11.06.2010, 23:06
Re: [URGENT] How to print to all rcon admins? - by Micko9 - 12.06.2010, 12:14
Re: [URGENT] How to print to all rcon admins? - by DJDhan - 12.06.2010, 14:56
Re: [URGENT] How to print to all rcon admins? - by Micko9 - 17.06.2010, 09:14
Re: [URGENT] How to print to all rcon admins? - by Infinity - 17.06.2010, 09:27
Re: [URGENT] How to print to all rcon admins? - by Jay_ - 17.06.2010, 10:07

Forum Jump:


Users browsing this thread: 2 Guest(s)