FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_ENTITY_ROUTING_BUCKET
(Entity entity)
GET_ENTITY_SCRIPT
(Entity entity)
GET_ENTITY_SPEED
(Entity entity)
GET_ENTITY_TYPE
(Entity entity)
GET_ENTITY_VELOCITY
(Entity entity)
GET_EXTERNAL_KVP_FLOAT
(char* resource, char* key)
GET_EXTERNAL_KVP_INT
(char* resource, char* key)
GET_EXTERNAL_KVP_STRING
(char* resource, char* key)
GET_FUEL_CONSUMPTION_RATE_MULTIPLIER
()
GET_FUEL_CONSUMPTION_STATE
()
GET_GAME_BUILD_NUMBER
()
GET_GAME_NAME
()
GET_GAME_POOL
(char* poolName)
GET_GAME_TIMER
()
GET_HASH_KEY
(char* model)
GET_HELI_MAIN_ROTOR_HEALTH
(Vehicle vehicle)
GET_HELI_TAIL_ROTOR_HEALTH
(Vehicle vehicle)
GET_HOST_ID
()
GET_HUD_COMPONENT_ALIGN
(int id, int* horizontalAlign, int* verticalAlign)
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)