[PEDIDO] /admins
#4

pawn Код:
if(strcmp("/admins", cmdtext, true) == 0)
{
    new string[128], Name[MAX_PLAYER_NAME];
    SendClientMessage(playerid, 0xFF4040AA, "Admins Online:");
    for(new i = 0; i < MAX_PLAYERS; ++i)
    {
        if(IsPlayerAdmin(i))
        {
            GetPlayerName(i, Name, sizeof Name);
            format(string, sizeof string, "%s [Admin RCON]" Name);  
            SendClientMessage(playerid, 0xFFFFFFAA, string);
        }
    }
    return true;
}
PS: Nгo vi que jб tinham postado.
Reply


Messages In This Thread
[PEDIDO] /admins - by Felipe_Wesker - 29.12.2010, 18:02
Re: [PEDIDO] /admins - by zSuYaNw - 29.12.2010, 18:05
Re: [PEDIDO] /admins - by [Banido]HigorOliver - 29.12.2010, 18:10
Re: [PEDIDO] /admins - by CyNiC - 29.12.2010, 18:10
Re: [PEDIDO] /admins - by DeNeR - 29.12.2010, 18:11
Re: [PEDIDO] /admins - by Felipe_Wesker - 29.12.2010, 18:16
Re: [PEDIDO] /admins - by zSuYaNw - 29.12.2010, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)