FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_ENTITY_DISTANCE_CULLING_RADIUS
(Entity entity, float radius)
SET_ENTITY_DRAW_OUTLINE
(Entity entity, BOOL enabled)
SET_ENTITY_DRAW_OUTLINE_COLOR
(int red, int green, int blue, int alpha)
SET_ENTITY_DRAW_OUTLINE_SHADER
(int shader)
SET_ENTITY_HEADING
(Entity entity, float heading)
SET_ENTITY_IGNORE_REQUEST_CONTROL_FILTER
(Entity entity, bool ignore)
SET_ENTITY_MATRIX
(Entity entity, float forwardX, float forwardY, float forwardZ, float rightX, float rightY, float rightZ, float upX, float upY, float upZ, float atX, float atY, float atZ)
SET_ENTITY_ROTATION
(Entity entity, float pitch, float roll, float yaw, int rotationOrder, BOOL bDeadCheck)
SET_ENTITY_ROUTING_BUCKET
(Entity entity, int bucket)
SET_ENTITY_VELOCITY
(Entity entity, float x, float y, float z)
SET_FLASH_LIGHT_KEEP_ON_WHILE_MOVING
(BOOL state)
SET_FLY_THROUGH_WINDSCREEN_PARAMS
(float vehMinSpeed, float unkMinSpeed, float unkModifier, float minDamage)
SET_FUEL_CONSUMPTION_RATE_MULTIPLIER
(float multiplier)
SET_FUEL_CONSUMPTION_STATE
(BOOL state)
SET_GAME_TYPE
(char* gametypeName)
SET_HANDLING_FIELD
(char* vehicle, char* class_, char* fieldName, Any value)
SET_HANDLING_FLOAT
(char* vehicle, char* class_, char* fieldName, float value)
SET_HANDLING_INT
(char* vehicle, char* class_, char* fieldName, int value)
SET_HANDLING_VECTOR
(char* vehicle, char* class_, char* fieldName, Vector3 value)
SET_HTTP_HANDLER
(func handler)
SET_HUD_COMPONENT_ALIGN
(int id, int horizontalAlign, int verticalAlign)