FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
0x583DF8E3D4AFBD98
()
0x5EDEF0CF8C1DAB3C
()
0x7F96F23FA9B73327
(Hash modelHash)
0x8D9DF6ECA8768583
(int threadId)
0xA0FE76168A189DDB
()
0xC61B86C9F61EB404
(BOOL toggle)
0xE36A98D8AB3D3C66
(BOOL p0)
Namespace:
DATAFILE
DATAARRAY_ADD_BOOL
(Any* arrayData, BOOL value)
DATAARRAY_ADD_DICT
(Any* arrayData)
DATAARRAY_ADD_FLOAT
(Any* arrayData, float value)
DATAARRAY_ADD_INT
(Any* arrayData, int value)
DATAARRAY_ADD_STRING
(Any* arrayData, char* value)
DATAARRAY_ADD_VECTOR
(Any* arrayData, float valueX, float valueY, float valueZ)
DATAARRAY_GET_BOOL
(Any* arrayData, int arrayIndex)
DATAARRAY_GET_COUNT
(Any* arrayData)
DATAARRAY_GET_DICT
(Any* arrayData, int arrayIndex)
DATAARRAY_GET_FLOAT
(Any* arrayData, int arrayIndex)
DATAARRAY_GET_INT
(Any* arrayData, int arrayIndex)
DATAARRAY_GET_STRING
(Any* arrayData, int arrayIndex)
DATAARRAY_GET_TYPE
(Any* arrayData, int arrayIndex)
DATAARRAY_GET_VECTOR
(Any* arrayData, int arrayIndex)
DATADICT_CREATE_ARRAY
(Any* objectData, char* key)
DATADICT_CREATE_DICT
(Any* objectData, char* key)
DATADICT_GET_ARRAY
(Any* objectData, char* key)
DATADICT_GET_BOOL
(Any* objectData, char* key)
DATADICT_GET_DICT
(Any* objectData, char* key)
DATADICT_GET_FLOAT
(Any* objectData, char* key)
DATADICT_GET_INT
(Any* objectData, char* key)
DATADICT_GET_STRING
(Any* objectData, char* key)
DATADICT_GET_TYPE
(Any* objectData, char* key)
DATADICT_GET_VECTOR
(Any* objectData, char* key)
DATADICT_SET_BOOL
(Any* objectData, char* key, BOOL value)
DATADICT_SET_FLOAT
(Any* objectData, char* key, float value)
DATADICT_SET_INT
(Any* objectData, char* key, int value)