yami is right, either those variables are static either they are global and you forget to reset them.
Anyway, would be more efficient to do :
PHP Code:
get_players ( players, t_count, "ae", "TERRORIST" )
get_players ( players, ct_count, "ae", "CT" )
You would have results in 2 lines, and you don't need to ever reset vars.
If you need to use players indexes for something else, then create 2 arrays, like players_t[32], players_ct[32].
__________________