native entity_set_origin(iIndex, const Float:fNewOrigin);
Sets the origin of an entity.
This native uses engine functions to set the origin, keeping it properly updated with the game. Directly writing to EV_VEC_origin is an error and will cause problems.
This function has no return value.
If an invalid entity index is provided, an error will be thrown.