how can i remove hostages and bombsites?
i have looked at no objectives + no round timer, i want the round timer and i want the round to end @ 0:00, but this plugin checks every entity spawn which is not the way i want it to
so i just want to find hostage entity and bomb site entity and remove them
can i do this?
Code:
new const g_objective_ents[][] = {
"func_bomb_target",
"info_bomb_target",
"hostage_entity",
"monster_scientist",
"func_hostage_rescue",
"info_hostage_rescue",
"info_vip_start",
"func_vip_safetyzone",
"func_escapezone"
}
.....
new items
for (i = 0; i < sizeof g_objective_ents; ++i) { //++i or i++?
items = find_ent_by_class(-1, g_objective_ents[i])
while(items)
{
remove_entity(items)
items = find_ent_by_class(items, g_objective_ents[i])
}
}
__________________