FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
GET_CONVAR_INT
(char* varName, int default_)
GET_CURRENT_RESOURCE_NAME
()
GET_CURRENT_SERVER_ENDPOINT
()
GET_DUI_HANDLE
(long duiObject)
GET_ENTITY_COORDS
(Entity entity)
GET_ENTITY_HEADING
(Entity entity)
GET_ENTITY_HEALTH
(Entity entity)
GET_ENTITY_MAX_HEALTH
(Entity entity)
GET_ENTITY_MODEL
(Entity entity)
GET_ENTITY_POPULATION_TYPE
(Entity entity)
GET_ENTITY_ROTATION
(Entity entity)
GET_ENTITY_ROTATION_VELOCITY
(Entity entity)
GET_ENTITY_ROUTING_BUCKET
(Entity entity)
GET_ENTITY_SCRIPT
(Entity entity)
GET_ENTITY_TYPE
(Entity entity)
GET_ENTITY_VELOCITY
(Entity entity)
GET_GAME_POOL
(char* poolname)
GET_GAME_TIMER
()
GET_HASH_KEY
(char* model)
GET_HOST_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_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)