FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_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)