[AJUDA] Comando /admins
#8

Quote:
Originally Posted by Gustavob
Посмотреть сообщение
pawn Код:
dcmd_admins(playerid,params[])
{
    #pragma unused params
    new count = 0;
    new string[128];
    new Name[24];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
            GetPlayerName(i, Name, 24);
            format(string, 128, "%s (Id:%i) | Level: %d", Name, i, PlayerInfo[i][Level]);
            SendClientMessage(playerid, COR, string);
            count++;
        }
    }
    if (count == 0)
    SendClientMessage(playerid,red,"Nenhum admin online");
    SendClientMessage(playerid, green, " _______________________________________");
    return 1;
}
tenta assim... se precisar, muda alguma coisa aqui ou ali

Crйditos: LuxAdmin
Brigadгo ai vei, funfo de boa.
Reply


Messages In This Thread
[AJUDA] Comando /admins - by blackwave - 18.11.2010, 19:13
Re: [AJUDA] Comando /admins - by zSuYaNw - 18.11.2010, 19:25
Re: [AJUDA] Comando /admins - by blackwave - 18.11.2010, 19:36
Re: [AJUDA] Comando /admins - by SuB_ZeRo0_ - 18.11.2010, 20:18
Re: [AJUDA] Comando /admins - by blackwave - 19.11.2010, 18:35
Re: [AJUDA] Comando /admins - by blackwave - 19.11.2010, 19:18
Re: [AJUDA] Comando /admins - by Gustavob - 19.11.2010, 19:34
Re: [AJUDA] Comando /admins - by blackwave - 19.11.2010, 20:04

Forum Jump:


Users browsing this thread: 1 Guest(s)