Skip to content

GetInteriorRotation ​

клиент GET_INTERIOR_ROTATION

c
void GET_INTERIOR_ROTATION(int interiorId, float* rotx, float* rotY, float* rotZ, float* rotW);

Примеры ​

lua
local playerPed = PlayerPedId()
local interiorId = GetInteriorFromEntity(playerPed)

if interiorId ~= 0 then
  local x, y, z, w = GetInteriorRotation(interiorId)
  print("current interior " .. interiorId .. " rotation is: " .. vec(x, y, z, w))
end

Параметры ​

  • interiorId: The target interior.

Возвращает ​

Interior rotation in quaternion.


Страница собрана автоматически из native-decls/GetInteriorRotation.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.