Weird /admins command.
#2

Try this:

PHP код:
for(new 0MAX_PLAYERSi++)
    {
        if(
pInfo[i][pAdminLevel] > 0)
        {
            new 
string[256], aName[MAX_PLAYER_NAME];
            
GetPlayerName(iaNamesizeof(aName));
            
SendClientMessage(playeridCOLOR_ADMIN"Admins Online:");
            
SendClientMessage(playeridCOLOR_ADMIN"------------------------");
                        if(
pInfo[i][pAdminLevel] == 1)
            
format(stringsizeof(string), "%s - Admin level %d"aNamepInfo[i][pAdminLevel]);
            
SendClientMessage(playerid, -1string);
            
SendClientMessage(playeridCOLOR_ADMIN"---------------------------------------------------------------");
            
SendClientMessage(playerid, -1"If you have any problems, don't hesitate to use /report.");
            
SendClientMessage(playerid, -1"Or you can use /n for questions about the server.");
            
SendClientMessage(playeridCOLOR_ADMIN"---------------------------------------------------------------");
        }
                else if(
pInfo[i][pAdminLevel] == 2)
                {

                }
    } 
and so on
Reply


Messages In This Thread
Weird /admins command. - by danielpalade - 15.01.2016, 22:29
Re: Weird /admins command. - by saffierr - 15.01.2016, 23:15
Re: Weird /admins command. - by Alex_T - 15.01.2016, 23:26

Forum Jump:


Users browsing this thread: 1 Guest(s)