Need command /admins
#7

Quote:
Originally Posted by coakiddo
Посмотреть сообщение
Код:
CMD:admins(playerid, params[])
{
    new str[128],name[MAX_PLAYER_NAME];
    SendClientMessage(playerid, GREEN, "||| Admins Online |||"); // change colors
    for(new i; i<=MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(IsPlayerAdmin(i))
            {
                 GetPlayerName(i,name,sizeof(name));
                 format(str, sizeof(str), "%s[%d]",name, i);
                 SendClientMessage(playerid, YELLOW, str); // this too
            }
        }
    }
    return 1;
}
WORKING AT 100%
YOU JUST GOT YOUR SELF SOME FREE REP

(If anyone needs it to here you can get it)
Reply


Messages In This Thread
Need command /admins - by RiChArD_A - 26.01.2013, 20:04
Re: Need command /admins - by coakiddo - 26.01.2013, 20:07
Re: Need command /admins - by Tamer - 26.01.2013, 20:07
Respuesta: Re: Need command /admins - by RiChArD_A - 26.01.2013, 20:21
Re: Need command /admins - by coakiddo - 26.01.2013, 20:24
AW: Need command /admins - by Blackazur - 26.01.2013, 20:26
Respuesta: Re: Need command /admins - by RiChArD_A - 26.01.2013, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)