FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
OVERRIDE_PEDS_CAN_STAND_ON_TOP_FLAG
(BOOL flag)
OVERRIDE_PEDS_USE_DEFAULT_DRIVE_BY_CLIPSET
(BOOL flag)
OVERRIDE_POP_GROUPS
(char* path)
OVERRIDE_VEHICLE_PEDS_CAN_STAND_ON_TOP_FLAG
(Vehicle vehicle, BOOL can)
PERFORM_HTTP_REQUEST_INTERNAL
(char* requestData, int requestDataLength)
PERFORM_HTTP_REQUEST_INTERNAL_EX
(object requestData)
PRINT_STRUCTURED_TRACE
(char* jsonString)
PROFILER_ENTER_SCOPE
(char* scopeName)
PROFILER_EXIT_SCOPE
()
PROFILER_IS_RECORDING
()
REGISTER_ARCHETYPES
(func factory)
REGISTER_COMMAND
(char* commandName, func handler, BOOL restricted)
REGISTER_CONSOLE_LISTENER
(func listener)
REGISTER_ENTITIES
(func factory)
REGISTER_FONT_FILE
(char* fileName)
REGISTER_FONT_ID
(char* fontName)
REGISTER_KEY_MAPPING
(char* commandString, char* description, char* defaultMapper, char* defaultParameter)
REGISTER_NUI_CALLBACK
(char* callbackType, func callback)
REGISTER_NUI_CALLBACK_TYPE
(char* callbackType)
REGISTER_RAW_NUI_CALLBACK
(char* callbackType, func callback)
REGISTER_RESOURCE_AS_EVENT_HANDLER
(char* eventName)
REGISTER_RESOURCE_ASSET
(char* resourceName, char* fileName)
REGISTER_RESOURCE_BUILD_TASK_FACTORY
(char* factoryId, func factoryFn)
REGISTER_STREAMING_FILE_FROM_CACHE
(char* resourceName, char* fileName, char* cacheString)
REGISTER_STREAMING_FILE_FROM_KVS
(char* kvsKey)
REGISTER_STREAMING_FILE_FROM_URL
(char* registerAs, char* url)
REMOVE_ALL_PED_WEAPONS
(Ped ped, BOOL p1)
REMOVE_BLIP
(Blip* blip)
REMOVE_DRY_VOLUME
(int handle)
REMOVE_REPLACE_TEXTURE
(char* origTxd, char* origTxn)
REMOVE_STATE_BAG_CHANGE_HANDLER
(int cookie)
REMOVE_TIMECYCLE_MODIFIER
(char* modifierName)
REMOVE_TIMECYCLE_MODIFIER_VAR
(char* modifierName, char* varName)
REMOVE_WEAPON_COMPONENT_FROM_PED
(Ped ped, Hash weaponHash, Hash componentHash)
REMOVE_WEAPON_FROM_PED
(Ped ped, Hash weaponHash)