A Little Problem !!
#3

pawn Код:
CMD:vips(playerid,params[])
{
    #pragma unused params[]
    new count = 0,string[250],pName[MAX_PLAYER_NAME];
    for(new i=0;i<MAX_PLAYERS;++i)
        if(IsPlayerConnected(i) && pInfo[i][VIP]>0)
        {
            GetPlayerName(i,pName,MAX_PLAYER_NAME);
            ++count;
            if(count % 3 == 0)format(string,sizeof(string),"%s\n",string);
            format(string,sizeof(string),"%s | %s(%d)",string,pName,i);
        }
    SendClientMessage(playerid,-1,string);
    return 1;
}
Reply


Messages In This Thread
A Little Problem !! - by Gursimran - 11.08.2012, 05:51
Re: A Little Problem !! - by Gursimran - 11.08.2012, 05:54
Re: A Little Problem !! - by [MM]RoXoR[FS] - 11.08.2012, 06:01
Re: A Little Problem !! - by Gursimran - 11.08.2012, 06:02
Re: A Little Problem !! - by Gursimran - 11.08.2012, 06:04
Re: A Little Problem !! - by [MM]RoXoR[FS] - 11.08.2012, 06:05

Forum Jump:


Users browsing this thread: 1 Guest(s)