It's a bad idea to remove at spawn, because calling call_think will do nothing and FL_KILLME will kill only the weaponbox and not the entities linked to the box too.
Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
public plugin_init()
{
RegisterHam( Ham_Touch, "weaponbox", "WeaponBox_Touch", 1 );
}
public WeaponBox_Touch ( WeaponBox, Other )
{
dllfunc( DLLFunc_Think, WeaponBox );
}
__________________