The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- INTERIORvoid
0x38C1CB1CB119A016
``` NativeDB Introduced: v1493 ```
0x38C1CB1CB119A016 - INTERIORvoid
0x405DC2AEF6AF95B9
``` Usage: INTERIOR::_0x405DC2AEF6AF95B9(INTERIOR::GET_KEY_FOR_ENTITY_IN_ROOM(PLAYER::PLAYER_PED_ID())); ```
0x405DC2AEF6AF95B9 - INTERIORvoid
0x483ACA1176CA93F1
Description not yet documented
0x483ACA1176CA93F1 - INTERIORAny
0x4C2330E61D3DEB56
``` Only used once in the entire game scripts. Does not actually return anything. ```
0x4C2330E61D3DEB56 - INTERIORvoid
0x7241CCB7D020DB69
``` Jenkins hash _might_ be 0xFC227584. ```
0x7241CCB7D020DB69 - INTERIORvoid
0x7ECDF98587E92DEC
``` NativeDB Introduced: v1604 ```
0x7ECDF98587E92DEC - INTERIORvoid
0x82EBB79E258FA2B7
Description not yet documented
0x82EBB79E258FA2B7 - INTERIORvoid
0x9E6542F0CE8E70A3
``` DISABLE_* ```
0x9E6542F0CE8E70A3 - INTERIORvoid
0xAF348AFCB575A441
``` Exemple of use(carmod_shop.c4) INTERIOR::_AF348AFCB575A441("V_CarModRoom"); ```
0xAF348AFCB575A441 - INTERIORvoid
ACTIVATE_INTERIOR_ENTITY_SET
``` More info: http://gtaforums.com/topic/836367-adding-props-to-interiors/ ```
0x55E86AF2712B36A1 - INTERIORvoid
ADD_PICKUP_TO_INTERIOR_ROOM_BY_NAME
Description not yet documented
0x3F6167F351168730 - INTERIORvoid
CAP_INTERIOR
``` Does something similar to INTERIOR::DISABLE_INTERIOR ```
0xD9175F941610DB54 - INTERIORvoid
_CLEAR_INTERIOR_FOR_ENTITY
Immediately removes entity from an interior. Like sets entity to `limbo` room. ``` NativeDB Introduced: v2189 ```
0x85D5422B2039A70D - INTERIORvoid
CLEAR_ROOM_FOR_ENTITY
Description not yet documented
0xB365FC0C4E27FFA7 - INTERIORvoid
CLEAR_ROOM_FOR_GAME_VIEWPORT
Description not yet documented
0x23B59D8912F94246 - INTERIORvoid
DEACTIVATE_INTERIOR_ENTITY_SET
Description not yet documented
0x420BD37289EEE162 - INTERIORvoid
DISABLE_INTERIOR
``` Example: This removes the interior from the strip club and when trying to walk inside the player just falls: INTERIOR::DISABLE_INTERIOR(118018, true); ```
0x6170941419D7D8EC - INTERIORvoid
ENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME
``` This is the native that is used to hide the exterior of GTA Online apartment buildings when you are inside an apartment. ```
0xA97F257D0151A6AB - INTERIORvoid
_ENABLE_SCRIPT_CULL_MODEL_THIS_FRAME
Description not yet documented
0x50C375537449F369 - INTERIORvoid
FORCE_ROOM_FOR_ENTITY
``` Forces the particular room in an interior to load incase not teleporting into the portal. ```
0x52923C4710DD9907 - INTERIORvoid
FORCE_ROOM_FOR_GAME_VIEWPORT
Description not yet documented
0x920D853F3E17F1DA - INTERIORint
GET_INTERIOR_AT_COORDS
``` Returns interior ID from specified coordinates. If coordinates are outside, then it returns 0. Example for VB.NET Dim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z) ```
0xB0F7F8663821D9C3 - INTERIORint
GET_INTERIOR_AT_COORDS_WITH_TYPE
``` Returns the interior ID representing the requested interior at that location (if found?). The supplied interior string is not the same as the one used to load the interior. Use: INTERIOR::UNPIN_INTERIOR(INTERIOR::GET_INTERIOR_AT_COORDS_WITH_TYPE(x, y, z, interior)) Interior types include: "V_Michael", "V_Franklins", "V_Franklinshouse", etc.. you can find them in the scripts. Not a very useful native as you could just use GET_INTERIOR_AT_COORDS instead and get the same result, without even having to specify the interior type. ```
0x05B7A89BD78797FC - INTERIORint
GET_INTERIOR_AT_COORDS_WITH_TYPEHASH
``` Hashed version of GET_INTERIOR_AT_COORDS_WITH_TYPE ```
0xF0F77ADB9F67E79D - INTERIORint
GET_INTERIOR_FROM_COLLISION
Description not yet documented
0xEC4CF9FCB29A4424 - INTERIORint
GET_INTERIOR_FROM_ENTITY
``` Returns the handle of the interior that the entity is in. Returns 0 if outside. ```
0x2107BA504071A6BB - INTERIORint
GET_INTERIOR_FROM_PRIMARY_VIEW
``` NativeDB Introduced: v1604 ```
0xE7D267EC6CA966C3 - INTERIORint
GET_INTERIOR_GROUP_ID
``` Returns the group ID of the specified interior. For example, regular interiors have group 0, subway interiors have group 1. There are a few other groups too. ```
0xE4A84ABF135EF91A - INTERIORfloat
GET_INTERIOR_HEADING
``` NativeDB Introduced: v1493 ```
0xF49B58631D9E22D9 - INTERIORvoid
GET_INTERIOR_LOCATION_AND_NAMEHASH
``` NativeDB Introduced: v1290 ```
0x252BDC06B73FA6EA - INTERIORHash
GET_KEY_FOR_ENTITY_IN_ROOM
``` Seems to do the exact same as INTERIOR::GET_ROOM_KEY_FROM_ENTITY ```
0x399685DB942336BC - INTERIORVector3
GET_OFFSET_FROM_INTERIOR_IN_WORLD_COORDS
Description not yet documented
0x9E3B3E6D66F6E22F - INTERIORHash
GET_ROOM_KEY_FOR_GAME_VIEWPORT
Description not yet documented
0xA6575914D2A0B450 - INTERIORHash
GET_ROOM_KEY_FROM_ENTITY
``` Gets the room hash key from the room that the specified entity is in. Each room in every interior has a unique key. Returns 0 if the entity is outside. ```
0x47C2A06D4F5F424B - INTERIORBOOL
IS_COLLISION_MARKED_OUTSIDE
Returns true if the collision at the specified coords is marked as being outside (false if there's an interior)
0xEEA5AC2EDA7C33E8 - INTERIORBOOL
IS_INTERIOR_CAPPED
Description not yet documented
0x92BAC8ACF88CEC26 - INTERIORBOOL
IS_INTERIOR_DISABLED
Description not yet documented
0xBC5115A5A939DD15 - INTERIORBOOL
IS_INTERIOR_ENTITY_SET_ACTIVE
Description not yet documented
0x35F7DD45E8C0A16D - INTERIORBOOL
IS_INTERIOR_READY
Description not yet documented
0x6726BDCCC1932F0E - INTERIORBOOL
IS_INTERIOR_SCENE
Description not yet documented
0xBC72B5D7A1CBD54D
A living reference. Documentation coverage varies by native and source.