Already tryied that trick Exo, when all players dead and have 0 tickets, it will print "Preds Remaining : 11"
So i've made this :
PHP Code:
get_players(Players, iNum, "e", "TERRORIST")
counted_spawns = 0;
if(iNum > 0)
{
for(i = 0; i < iNum; ++i)
{
if ( g_Tickets[Players[i]] > 0 )
{
counted_spawns += g_Tickets[Players[i]]
}
}
}
Still there are bug :/ When tickets goes from 21 to 11, it's stop :0 Writes "Preds Remaining : 11"
But I've check if g_Tickets[Players[i]] > 0 :/