Incomplete string?
#2

PHP код:
new index;
for(new 
i;i<MAX_PLAYERS;i++)
{
    if(
PlayerInfo[i][pAdmin] == 0)continue;
    
index ++;
    if(
index == 1)SendClientMessage(playerid,COLOR_GRAD2,"[ADMINS ONLINE]");
    
format(string,sizeof string,"%s%i. %s (%d)\n",string,index,GetName(i),PlayerInfo[i][pAdmin]);
    
SendClientMessage(playerid,COLOR_GRAD2,string);
}
if(!
index)SendClientMessage(playerid,COLOR_LIGHTRED,"Nu este nici un administrator online acum."); 
Reply


Messages In This Thread
Incomplete string? - by Metharon - 10.08.2015, 13:33
Re: Incomplete string? - by MarvinPWN - 10.08.2015, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)