Cred ca am stat ceva sa caut , poftim
- | Afiseaza codul
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
public plugin_init()
{
register_plugin("Plugin", "vers", "con")
RegisterHam(Ham_Touch, "func_door", "Door_Touch")
}
public Door_Touch(ent, other)
{
static szClass[8]
pev(other, pev_classname, szClass, charsmax(szClass))
if( !equal(szClass, "player") && pev(other, pev_groundentity) == ent )
{
engfunc(EngFunc_RemoveEntity, other)
return HAM_SUPERCEDE
}
return HAM_IGNORED
}
Apasa
Daca te-a ajutat !