Incomplete string?
#1

http://i.imgur.com/MR43DgK.png

new index = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{

if(PlayerInfo[i][pAdmin] == 0) continue;
index ++;
if(index == 1) { SendClientMessage(playerid, COLOR_GRAD2, "[ADMINS ONLINE]"); }
format(string, 456, "%s (%d)", index, GetName(i),PlayerInfo[i][pAdmin]);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(index == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED, " Nu este nici un administrator online acum.");
}

Why the fuck is only [4] ?
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)