FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_PROBE_LENGTH
(float probeLength)
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_KEY_MAPPING_HIDE_RESOURCES
(bool hide)
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)
SET_NUI_FOCUS_KEEP_INPUT
(BOOL keepInput)
SET_NUI_ZINDEX
(int zIndex)
SET_PED_AMMO
(Ped ped, Hash weaponHash, int ammo)
SET_PED_ARMOUR
(Ped ped, int amount)
SET_PED_CAN_RAGDOLL
(Ped ped, BOOL toggle)
SET_PED_COLLECTION_COMPONENT_VARIATION
(Ped ped, int componentId, char* collection, int drawableId, int textureId, int paletteId)
SET_PED_COLLECTION_PRELOAD_PROP_DATA
(Ped ped, int anchorPoint, char* collection, int propIndex, int textureId)
SET_PED_COLLECTION_PRELOAD_VARIATION_DATA
(Ped ped, int componentId, char* collection, int drawableId, int textureId)
SET_PED_COLLECTION_PROP_INDEX
(Ped ped, int anchorPoint, char* collection, int propIndex, int textureId, BOOL attach)
SET_PED_COMPONENT_VARIATION
(Ped ped, int componentId, int drawableId, int textureId, int paletteId)
SET_PED_CONFIG_FLAG
(Ped ped, int flagId, BOOL value)
SET_PED_DEFAULT_COMPONENT_VARIATION
(Ped ped)
_SET_PED_EYE_COLOR
(Ped ped, int index)
_SET_PED_FACE_FEATURE
(Ped ped, int index, float scale)