Tickets - I mean how much times you can respawn.
You gave the same code :/
PHP Code:
new Players[32], iNum = 0, i;
get_players(Players, iNum, "ae", "TERRORIST")
if(iNum > 0)
{
for(i = 0; i < iNum; ++i) counted_spawns += g_Tickets[Players[i]]
}
Understand that wouldn't be enough ,it will be buggy, this will add EACH KILL !
Like exolents says you must then do
PHP Code:
counted_spawns = 0;
And yes I done it,but there are another bug, when all players tickets are 0, it will show always "11"( Preds Remainig : 11 )
It will show then 11 players in teror team and not all tickets of players.
God damn it, hard to explain