Which should i use?
Код:
for(new i; i < MaxClients; i++)
{
if( !is_user_bot(i) && is_user_alive(i) && get_member(i, m_iTeam) == TEAM_CT ) {
iClose[i] = true;
}
}
Код:
new players[MAX_PLAYERS], num;
get_players(players, num, "ace", "CT");
for(new i; i < num; i++)
{
iClose[players[i]] = true;
}