FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
ADD_TEXT_ENTRY
(char* entryKey, char* entryText)
ADD_TEXT_ENTRY_BY_HASH
(Hash entryKey, char* entryText)
CALL_MINIMAP_SCALEFORM_FUNCTION
(int miniMap, char* fnName)
CAN_PLAYER_START_COMMERCE_SESSION
(char* playerSrc)
CANCEL_EVENT
()
COMMIT_RUNTIME_TEXTURE
(long tex)
CREATE_AUDIO_SUBMIX
(char* name)
CREATE_DUI
(char* url, int width, int height)
CREATE_RUNTIME_TEXTURE
(long txd, char* txn, int width, int height)
CREATE_RUNTIME_TEXTURE_FROM_DUI_HANDLE
(long txd, char* txn, char* duiHandle)
CREATE_RUNTIME_TEXTURE_FROM_IMAGE
(long txd, char* txn, char* fileName)
CREATE_RUNTIME_TXD
(char* name)
DELETE_ENTITY
(Entity entity)
DELETE_FUNCTION_REFERENCE
(char* referenceIdentity)
DELETE_RESOURCE_KVP
(char* key)
DESTROY_DUI
(long duiObject)
DOES_ENTITY_EXIST
(Object entity)
DOES_PLAYER_OWN_SKU
(char* playerSrc, int skuId)
DOES_PLAYER_OWN_SKU_EXT
(char* playerSrc, int skuId)
DOOR_SYSTEM_GET_ACTIVE
()
DOOR_SYSTEM_GET_SIZE
()
DROP_PLAYER
(char* playerSrc, char* reason)
DUPLICATE_FUNCTION_REFERENCE
(char* referenceIdentity)
ENABLE_ENHANCED_HOST_SUPPORT
(BOOL enabled)
END_FIND_KVP
(int handle)
END_FIND_OBJECT
(int findHandle)
END_FIND_PED
(int findHandle)
END_FIND_PICKUP
(int findHandle)
END_FIND_VEHICLE
(int findHandle)
ENSURE_ENTITY_STATE_BAG
(Entity entity)
EXECUTE_COMMAND
(char* commandString)
EXPERIMENTAL_LOAD_CLONE_CREATE
(char* data, int objectId, char* tree)
EXPERIMENTAL_LOAD_CLONE_SYNC
(Entity entity, char* data)
EXPERIMENTAL_SAVE_CLONE_CREATE
(Entity entity)
EXPERIMENTAL_SAVE_CLONE_SYNC
(Entity entity)