FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
CALL_MINIMAP_SCALEFORM_FUNCTION
(int miniMap, char* fnName)
CAN_PLAYER_START_COMMERCE_SESSION
(char* playerSrc)
CANCEL_EVENT
()
CLEAR_PED_PROP
(Ped ped, int propId)
CLEAR_PED_SECONDARY_TASK
(Ped ped)
CLEAR_PED_TASKS
(Ped ped)
CLEAR_PED_TASKS_IMMEDIATELY
(Ped ped)
CLEAR_PLAYER_WANTED_LEVEL
(Player player)
CLEAR_VEHICLE_XENON_LIGHTS_CUSTOM_COLOR
(Vehicle vehicle)
CLONE_TIMECYCLE_MODIFIER
(char* sourceModifierName, char* clonedModifierName)
COMMIT_RUNTIME_TEXTURE
(long tex)
CREATE_AUDIO_SUBMIX
(char* name)
CREATE_DRY_VOLUME
(float xMin, float yMin, float zMin, float xMax, float yMax, float zMax)
CREATE_DUI
(char* url, int width, int height)
CREATE_OBJECT
(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL netMissionEntity, BOOL doorFlag)
CREATE_OBJECT_NO_OFFSET
(Hash modelHash, float x, float y, float z, BOOL isNetwork, BOOL netMissionEntity, BOOL doorFlag)
CREATE_PED
(int pedType, Hash modelHash, float x, float y, float z, float heading, BOOL isNetwork, BOOL bScriptHostPed)
CREATE_PED_INSIDE_VEHICLE
(Vehicle vehicle, int pedType, Hash modelHash, int seat, BOOL isNetwork, BOOL bScriptHostPed)
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)
CREATE_TIMECYCLE_MODIFIER
(char* modifierName)
CREATE_VEHICLE
(Hash modelHash, float x, float y, float z, float heading, BOOL isNetwork, BOOL netMissionEntity)
CREATE_VEHICLE_SERVER_SETTER
(Hash modelHash, char* type, float x, float y, float z, float heading)
DELETE_ENTITY
(Entity entity)
DELETE_FUNCTION_REFERENCE
(char* referenceIdentity)
DELETE_RESOURCE_KVP
(char* key)
DELETE_RESOURCE_KVP_NO_SYNC
(char* key)
DESTROY_DUI
(long duiObject)
DISABLE_EDITOR_RUNTIME
()
DISABLE_IDLE_CAMERA
(BOOL state)
DISABLE_VEHICLE_PASSENGER_IDLE_CAMERA
(BOOL state)
DISABLE_WORLDHORIZON_RENDERING
(BOOL state)
DOES_BOAT_SINK_WHEN_WRECKED
(Vehicle vehicle)