Replace:
PHP Code:
set_pev(entity, pev_origin, position)
to:
PHP Code:
engfunc(EngFunc_SetOrigin, entity, position)
This updates entity origin for the physics engine. (re-links entity)
Another way you can move:
PHP Code:
set_pev(entity, pev_origin, position)
Before:
PHP Code:
engfunc(EngFunc_SetSize, entity, mins, maxs)
Because SetSize also re-links entity.
__________________