native entity_set_origin(iIndex, const Float:fNewOrigin[3]);
iIndex | Entity index |
fNewOrigin | New origin |
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.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.