FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_HUD_COMPONENT_NAME
(int id)
GET_HUD_COMPONENT_SIZE
(int id)
GET_INSTANCE_ID
()
GET_INTERIOR_ENTITIES_EXTENTS
(int interiorId, float* bbMinX, float* bbMinY, float* bbMinZ, float* bbMaxX, float* bbMaxY, float* bbMaxZ)
GET_INTERIOR_PORTAL_CORNER_POSITION
(int interiorId, int portalIndex, int cornerIndex, float* posX, float* posY, float* posZ)
GET_INTERIOR_PORTAL_COUNT
(int interiorId)
GET_INTERIOR_PORTAL_ENTITY_ARCHETYPE
(int interiorId, int portalIndex, int entityIndex)
GET_INTERIOR_PORTAL_ENTITY_COUNT
(int interiorId, int portalIndex)
GET_INTERIOR_PORTAL_ENTITY_FLAG
(int interiorId, int portalIndex, int entityIndex)
GET_INTERIOR_PORTAL_ENTITY_POSITION
(int interiorId, int portalIndex, int entityIndex, float* posX, float* posY, float* posZ)
GET_INTERIOR_PORTAL_ENTITY_ROTATION
(int interiorId, int portalIndex, int entityIndex, float* rotX, float* rotY, float* rotZ, float* rotW)
GET_INTERIOR_PORTAL_FLAG
(int interiorId, int portalIndex)
GET_INTERIOR_PORTAL_ROOM_FROM
(int interiorId, int portalIndex)
GET_INTERIOR_PORTAL_ROOM_TO
(int interiorId, int portalIndex)
GET_INTERIOR_POSITION
(int interiorId, float* posX, float* posY, float* posZ)
GET_INTERIOR_ROOM_COUNT
(int interiorId)
GET_INTERIOR_ROOM_EXTENTS
(int interiorId, int roomIndex, float* bbMinX, float* bbMinY, float* bbMinZ, float* bbMaxX, float* bbMaxY, float* bbMaxZ)
GET_INTERIOR_ROOM_FLAG
(int interiorId, int roomIndex)
GET_INTERIOR_ROOM_INDEX_BY_HASH
(int interiorId, int roomHash)
GET_INTERIOR_ROOM_NAME
(int interiorId, int roomIndex)
GET_INTERIOR_ROOM_TIMECYCLE
(int interiorId, int roomIndex)
GET_INTERIOR_ROTATION
(int interiorId, float* rotx, float* rotY, float* rotZ, float* rotW)
GET_INVOKING_RESOURCE
()
GET_IS_VEHICLE_ENGINE_RUNNING
(Vehicle vehicle)
GET_IS_VEHICLE_PRIMARY_COLOUR_CUSTOM
(Vehicle vehicle)
GET_IS_VEHICLE_SECONDARY_COLOUR_CUSTOM
(Vehicle vehicle)
GET_LANDING_GEAR_STATE
(Vehicle vehicle)
GET_LAST_PED_IN_VEHICLE_SEAT
(Vehicle vehicle, int seatIndex)
GET_MAP_ZOOM_DATA_LEVEL
(int index, float* zoomScale, float* zoomSpeed, float* scrollSpeed, float* tilesX, float* tilesY)
GET_MAPDATA_ENTITY_HANDLE
(int mapDataHash, int entityInternalIdx, int* entityHandle)
GET_MAPDATA_ENTITY_MATRIX
(int mapDataHash, int entityInternalIdx, long matrixPtr)
GET_MAPDATA_FROM_HASH_KEY
(Hash mapdataHandle)
GET_NETWORK_WALK_MODE
()
GET_NUI_CURSOR_POSITION
(int* x, int* y)
GET_NUM_PLAYER_IDENTIFIERS
(char* playerSrc)