Code: Select all
static id id = -1 while ((id = find_ent_in_sphere(id, NPC_Origin[NPC_OriginSave], 80.0)) != 0) { if (1 <= id <= MaxPlayers && is_user_alive(id)) { if (get_user_team(id) == 1) { client_print(id, print_center, "Komanda: /terr") } if (get_user_team(id) == 2) { client_print(id, print_center, "Tik Teroristam") } } if (id >= MaxPlayers) break }