Removing bombsites is simple:
You search for entities with the bombsite classname, and remove them.
Code:
new iEnt = -1;
while( engfunc( EngFunc_FindEntityByString, iEnt, "classname", "func_bomb_target" ) > 0 )
{
fm_remove_entity( iEnt );
}
new iEnt = -1;
while( engfunc( EngFunc_FindEntityByString, iEnt, "classname", "info_bomb_target" ) > 0 )
{
fm_remove_entity( iEnt );
}
Not sure about the info_bomb_target thought, added it to be safe.
__________________