You know how to do the map ?
As for the code...
PHP Code:
#include <amxmodx>
#include <engine>
#define SECURENAME "map_block_name"
// ...
public plugin_precache()
{
new ent, entName[32]
while((ent = find_ent_by_class(ent, "func_wall")) != 0) // search through all func_wall entities
{
pev(ent, pev_targetname, entName, 31) // get it's name
if(!equal(entName, SECURENAME)) // if it's not your block name, continue to the next one
continue
remove_entity(ent) // if it is, remove it...
}
}
Don't really know if this works but it's a starting point
__________________