1. de-tag the Float array in set_task
2. make SpawnEnt public
3. make the origin param an array in SpawnEnt
untested
PHP Code:
public SpawnEnt( Float:origin[3] , entity )
{
//unsure if you needed this or not
new ent = entity - ENTTASK;
}
public EntTouch(ent, toucher)
{
new Float:origin[3]
pev(ent,pev_origin,origin)
set_task(10.0, "SpawnEnt",ent + ENTTASK, _:origin, sizeof( origin ) )
remove_entity(ent)
}
__________________