FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_CONVAR_SERVER_INFO
(char* varName, char* value)
SET_CURRENT_PED_WEAPON
(Ped ped, Hash weaponHash, BOOL bForceInHand)
SET_DEFAULT_VEHICLE_NUMBER_PLATE_TEXT_PATTERN
(int plateIndex, char* pattern)
SET_DISCORD_APP_ID
(char* appId)
SET_DISCORD_RICH_PRESENCE_ACTION
(int index, char* label, char* url)
SET_DISCORD_RICH_PRESENCE_ASSET
(char* assetName)
SET_DISCORD_RICH_PRESENCE_ASSET_SMALL
(char* assetName)
SET_DISCORD_RICH_PRESENCE_ASSET_SMALL_TEXT
(char* text)
SET_DISCORD_RICH_PRESENCE_ASSET_TEXT
(char* text)
SET_DUI_URL
(long duiObject, char* url)
SET_ENTITY_COORDS
(Entity entity, float xPos, float yPos, float zPos, BOOL alive, BOOL deadFlag, BOOL ragdollFlag, BOOL clearArea)