FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_HUD_COMPONENT_SIZE
(int id, float x, float y)
SET_INTERIOR_PORTAL_CORNER_POSITION
(int interiorId, int portalIndex, int cornerIndex, float posX, float posY, float posZ)
SET_INTERIOR_PORTAL_ENTITY_FLAG
(int interiorId, int portalIndex, int entityIndex, int flag)
SET_INTERIOR_PORTAL_FLAG
(int interiorId, int portalIndex, int flag)
SET_INTERIOR_PORTAL_ROOM_FROM
(int interiorId, int portalIndex, int roomFrom)
SET_INTERIOR_PORTAL_ROOM_TO
(int interiorId, int portalIndex, int roomTo)
SET_INTERIOR_ROOM_EXTENTS
(int interiorId, int roomIndex, float bbMinX, float bbMinY, float bbMinZ, float bbMaxX, float bbMaxY, float bbMaxZ)
SET_INTERIOR_ROOM_FLAG
(int interiorId, int roomIndex, int flag)
SET_INTERIOR_ROOM_TIMECYCLE
(int interiorId, int roomIndex, int timecycleHash)
SET_MANUAL_SHUTDOWN_LOADING_SCREEN_NUI
(BOOL manualShutdown)
SET_MAP_NAME
(char* mapName)