/admins confused
#5

pawn Code:
CMD:admins(playerid,params[])
{
    new count = 0, string[128];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(Duty[i] == 1)
        {
            new string[124];
            format(string,sizeof(string),"%s",GetName(i));
            SendClientMessage(playerid,-1,string);
            count ++;
        }
    }
    if(count == 0)
    {
        SendClientMessage(playerid,-1,"No admins online");
    }
    return 1;
}
Reply


Messages In This Thread
/admins confused - by tyler12 - 15.08.2012, 14:42
Re: /admins confused - by CROSS_Hunter - 15.08.2012, 14:51
Re: /admins confused - by tyler12 - 15.08.2012, 14:53
Re: /admins confused - by sansko - 15.08.2012, 14:58
Re: /admins confused - by ryansheilds - 15.08.2012, 15:48
Re: /admins confused - by Jessyy - 15.08.2012, 16:02

Forum Jump:


Users browsing this thread: 2 Guest(s)