[FilterScript] WhoIsAdmin v1.6
#7

Quote:
Originally Posted by RoW001
Посмотреть сообщение
You included foreach for ?
Код:
CMD:admins(playerid,params[])
{
   for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        if(IsPlayerAdmin(i))
        {
            new string[27];
            new id[MAX_PLAYER_NAME];
            GetPlayerName(i, id, sizeof(id));
            format(string, sizeof(string), "Admins online: %s", id);
            SendClientMessage(playerid, 0x800080AA , string);
          }
    }
}
   return 1;
}
No sorry man,,,forech should not be there. But i have add some includes and defines becuase i will need it later
Reply


Messages In This Thread
WhoIsAdmin v1.6 - by sheders - 24.03.2013, 02:26
Re: WhoIsAdmin v1.6 - by Yves - 24.03.2013, 03:01
Re: WhoIsAdmin v1.6 - by [ABK]Antonio - 24.03.2013, 03:22
Re: WhoIsAdmin v1.6 - by RoW001 - 24.03.2013, 08:45
Re: WhoIsAdmin v1.6 - by sheders - 24.03.2013, 09:30
Re: WhoIsAdmin v1.6 - by sheders - 24.03.2013, 09:32
Re: WhoIsAdmin v1.6 - by sheders - 24.03.2013, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)