entity_set_origin
- Синтаксис
-
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.
- Возвращает
- Функция ничего не возвращает