I'm trying to do a player loop to fill a global array. Well it works, but the rest of the function is not getting executed. I'm just having one of those moments...
am i trying to do something crazy and stupid here?? Simplified code for illustration:
Code:
void Test()
{
for(int i = 1; i <= MaxClients; i++)
{
if(GetClientTeam(i) == 1)
{
PrintToConsole(0, "%N is spectating", i);
}
else if(GetClientTeam(i) != 1)
{
PrintToConsole(0, "%N is not spectating", i);
}
}
//////
PrintToConsole(0, "Is there a good reason this code is not executing??");
//////
}