Quote:
Originally Posted by suhdude
SOLVED
//This removes bomb when it is dropped
Code:
public plugin_init()
{
RegisterHam(Ham_Spawn, "weaponbox", "RemoveWeaponbox", 1)
}
public RemoveWeaponbox(ent)
{
entity_set_int(ent, EV_INT_flags, FL_KILLME);
call_think(ent);
}
|
No need to set FL_KILLME, calling think should be enough.
__________________