30.01.2014, 10:18
Quote:
Why do you use continue below PlayerStats[i][Boolean], try removing that because that continues that loop to else, that is why else is getting called most of the time.
|
pawn Код:
public FuncName()
{
foreach(Player, i)
{
new str[30];
if(PlayerStats[i][Boolean]) format(str, sizeof(str), "DRIFT TICK FOR PLAYERID %d", i);
else format(str, sizeof(str), "THIS GUY WAS FALSE: %d", i);
SendClientMessageToAll(ORANGE, str);
}
//Rest of code...
}