FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_MAP_ZOOM_DATA_LEVEL
(int index, float zoomScale, float zoomSpeed, float scrollSpeed, float tilesX, float tilesY)
SET_MILLISECONDS_PER_GAME_MINUTE
(int value)
SET_MINIMAP_CLIP_TYPE
(int type)
SET_MINIMAP_COMPONENT_POSITION
(char* name, char* alignX, char* alignY, float posX, float posY, float sizeX, float sizeY)
SET_MINIMAP_OVERLAY_DISPLAY
(int miniMap, float x, float y, float xScale, float yScale, float alpha)
SET_MODEL_HEADLIGHT_CONFIGURATION
(Hash modelHash, float ratePerSecond, float headlightRotation, BOOL invertRotation)
SET_MP_GAMER_TAGS_USE_VEHICLE_BEHAVIOR
(bool enabled)
SET_MP_GAMER_TAGS_VISIBLE_DISTANCE
(float distance)
SET_NETWORK_WALK_MODE
(bool enabled)
SET_NUI_FOCUS
(BOOL hasFocus, BOOL hasCursor)