[Ajuda] Problema no /admins
#5

Quote:
Originally Posted by Lуs
Посмотреть сообщение
pawn Код:
CMD:admins(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Vocк precisa estб logado para usar este comando!");

    SendClientMessage(playerid, 0xBEBEBEFF, "Administradores:");
    foreach(Player, i)
    {
        if(PlayerInfo[i][pAdmin])
        {
           if(aDuty[i])
           {
               format (string, sizeof(string), "%s{BEBEBE} %s (%d) | Status: {008B00}ON DUTY", RPALN2(i), RPN(i), i);
               SendClientMessage(playerid, COLOR_GREY, string);
           }
           else
           {
               format (string, sizeof(string), "%s{BEBEBE} %s (%d) | Status: OFF DUTY", RPALN2(i), RPN(i), i);
               SendClientMessage(playerid, COLOR_GREY, string);
           }
        }
    return true;
}
Tente.
Deu certo amigo, grato.
Reply


Messages In This Thread
Problema no /admins - by willttoonn - 02.09.2013, 22:11
Re: Problema no /admins - by Lуs - 02.09.2013, 22:19
Re: Problema no /admins - by willttoonn - 02.09.2013, 22:22
Re: Problema no /admins - by Lуs - 02.09.2013, 22:27
Re: Problema no /admins - by willttoonn - 02.09.2013, 22:33

Forum Jump:


Users browsing this thread: 1 Guest(s)