FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
REQUEST_PLAYER_COMMERCE_SESSION
(char* playerSrc, int skuId)
REQUEST_RESOURCE_FILE_SET
(char* setName)
RESET_FLY_THROUGH_WINDSCREEN_PARAMS
()
RESET_MAP_ZOOM_DATA_LEVEL
(int index)
RESET_MAPDATA_ENTITY_MATRIX
(int mapDataHash, int entityInternalIdx)
RESET_PED_MODEL_PERSONALITY
(Hash modelHash)
RESET_VEHICLE_PEDS_CAN_STAND_ON_TOP_FLAG
(Vehicle vehicle)
RESET_WATER
()
SAVE_RESOURCE_FILE
(char* resourceName, char* fileName, char* data, int dataLength)
SCAN_RESOURCE_ROOT
(char* rootPath, func callback)
SCHEDULE_RESOURCE_TICK
(char* resourceName)
SELECT_ENTITY_AT_CURSOR
(int hitFlags, BOOL precise)
SELECT_ENTITY_AT_POS
(float fracX, float fracY, int hitFlags, BOOL precise)
SEND_DUI_MESSAGE
(long duiObject, char* jsonString)
SEND_DUI_MOUSE_DOWN
(long duiObject, char* button)
SEND_DUI_MOUSE_MOVE
(long duiObject, int x, int y)
SEND_DUI_MOUSE_UP
(long duiObject, char* button)
SEND_DUI_MOUSE_WHEEL
(long duiObject, int deltaY, int deltaX)
SEND_LOADING_SCREEN_MESSAGE
(char* jsonString)
SEND_NUI_MESSAGE
(char* jsonString)
SET_AIM_COOLDOWN
(int value)
SET_AUDIO_SUBMIX_EFFECT_PARAM_FLOAT
(int submixId, int effectSlot, int paramIndex, float paramValue)
SET_AUDIO_SUBMIX_EFFECT_PARAM_INT
(int submixId, int effectSlot, int paramIndex, int paramValue)
SET_AUDIO_SUBMIX_EFFECT_RADIO_FX
(int submixId, int effectSlot)
SET_AUDIO_SUBMIX_OUTPUT_VOLUMES
(int submixId, int outputSlot, float frontLeftVolume, float frontRightVolume, float rearLeftVolume, float rearRightVolume, float channel5Volume, float channel6Volume)
SET_BLIP_SPRITE
(Blip blip, int spriteId)
SET_CALMING_QUAD_BOUNDS
(int waterQuad, int minX, int minY, int maxX, int maxY)
SET_CALMING_QUAD_DAMPENING
(int calmingQuad, float dampening)
SET_CONVAR
(char* varName, char* value)
SET_CONVAR_REPLICATED
(char* varName, char* value)