Hello guys. How to get Bombsite A and Bombsite B valid cordiantes?
I am probaly this code:
PHP Code:
stock find_bomb_targets(Float:location1[3],Float:location2[3])
{
new ent1=find_ent_by_class(32,"func_bomb_target")
new ent2=find_ent_by_class(ent1,"info_bomb_target")
get_brush_entity_origin(ent1, location1)
get_brush_entity_origin(ent2, location2)
return PLUGIN_CONTINUE
}
and dont set valid cordiantes? Example: I am set user orifin the bombsite origin, and put in the wall! Thanks for helping.
__________________