I have a plugin that stops people going through a certain area, that area is blocked by an entity, but guns and c4's still go trought.
CODE:
PHP Code:
engfunc(EngFunc_SetOrigin, iEnt, flCenter)
set_pev(iEnt, pev_classname, g_szClassname)
dllfunc(DLLFunc_Spawn, iEnt)
set_pev(iEnt, pev_movetype, MOVETYPE_NONE)
set_pev(iEnt, pev_solid, SOLID_BBOX)
engfunc(EngFunc_SetSize, iEnt, flMins, flMaxs)