SetInteriorRoomExtents
клиент SET_INTERIOR_ROOM_EXTENTS
c
void SET_INTERIOR_ROOM_EXTENTS(int interiorId, int roomIndex, float bbMinX, float bbMinY, float bbMinZ, float bbMaxX, float bbMaxY, float bbMaxZ);Примеры
lua
local playerPed = PlayerPedId()
local interiorId = GetInteriorFromEntity(playerPed)
if interiorId ~= 0 then
SetInteriorRoomExtents(interiorId, 0, -999.0, -999.0, -100.0, 999.0, 999.0, 100.0) -- 0 is a limbo usually
RefreshInterior(interiorId)
endПараметры
- interiorId: The target interior.
- roomIndex: Interior room index.
- bbMinX:
- bbMinY:
- bbMinZ:
- bbMaxX:
- bbMaxY:
- bbMaxZ:
Страница собрана автоматически из native-decls/SetInteriorRoomExtents.md. Нашли ошибку — поправьте исходный файл.