FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
ACTIVATE_INTERIOR_ENTITY_SET
(int interior, char* entitySetName)
ADD_PICKUP_TO_INTERIOR_ROOM_BY_NAME
(Pickup pickup, char* roomName)
CAP_INTERIOR
(int interiorID, BOOL toggle)
_CLEAR_INTERIOR_FOR_ENTITY
(Entity entity)
CLEAR_ROOM_FOR_ENTITY
(Entity entity)
CLEAR_ROOM_FOR_GAME_VIEWPORT
()
DEACTIVATE_INTERIOR_ENTITY_SET
(int interior, char* entitySetName)
DISABLE_INTERIOR
(int interiorID, BOOL toggle)
ENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME
(Hash mapObjectHash)
_ENABLE_SCRIPT_CULL_MODEL_THIS_FRAME
(Hash mapObjectHash)
FORCE_ROOM_FOR_ENTITY
(Entity entity, int interior, Hash roomHashKey)
FORCE_ROOM_FOR_GAME_VIEWPORT
(int interiorID, Hash roomHashKey)
GET_INTERIOR_AT_COORDS
(float x, float y, float z)
GET_INTERIOR_AT_COORDS_WITH_TYPE
(float x, float y, float z, char* interiorType)
GET_INTERIOR_AT_COORDS_WITH_TYPEHASH
(float x, float y, float z, Hash typeHash)
GET_INTERIOR_FROM_COLLISION
(float x, float y, float z)
GET_INTERIOR_FROM_ENTITY
(Entity entity)
GET_INTERIOR_FROM_PRIMARY_VIEW
()
GET_INTERIOR_GROUP_ID
(int interior)
GET_INTERIOR_HEADING
(int interior)
GET_INTERIOR_LOCATION_AND_NAMEHASH
(int interior, Vector3* position, Hash* nameHash)
GET_KEY_FOR_ENTITY_IN_ROOM
(Entity entity)
GET_OFFSET_FROM_INTERIOR_IN_WORLD_COORDS
(int interior, float x, float y, float z)
GET_ROOM_KEY_FOR_GAME_VIEWPORT
()
GET_ROOM_KEY_FROM_ENTITY
(Entity entity)
IS_COLLISION_MARKED_OUTSIDE
(float x, float y, float z)
IS_INTERIOR_CAPPED
(int interiorID)
IS_INTERIOR_DISABLED
(int interior)
IS_INTERIOR_ENTITY_SET_ACTIVE
(int interior, char* entitySetName)
IS_INTERIOR_READY
(int interiorID)
IS_INTERIOR_SCENE
()
IS_VALID_INTERIOR
(int interior)
PIN_INTERIOR_IN_MEMORY
(int interior)
REFRESH_INTERIOR
(int interiorID)
_SET_INTERIOR_ENTITY_SET_COLOR
(int interior, char* entitySetName, int color)