RegisterHam(Ham_Spawn, "weaponbox", "WeaponSpawned", 1); public WeaponSpawned(iEntity) { set_pev(iEntity, pev_flags, FL_KILLME); dllfunc(DLLFunc_Think, iEntity); return HAM_IGNORED; }