FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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_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_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)
SET_PED_HAIR_TINT
(Ped ped, int colorID, int highlightColorID)
SET_PED_HEAD_BLEND_DATA
(Ped ped, int shapeFirstID, int shapeSecondID, int shapeThirdID, int skinFirstID, int skinSecondID, int skinThirdID, float shapeMix, float skinMix, float thirdMix, BOOL isParent)
SET_PED_HEAD_OVERLAY
(Ped ped, int overlayID, int index, float opacity)
_SET_PED_HEAD_OVERLAY_COLOR
(Ped ped, int overlayID, int colorType, int colorID, int secondColorID)
SET_PED_INTO_VEHICLE
(Ped ped, Vehicle vehicle, int seatIndex)
SET_PED_MELEE_COMBAT_LIMITS
(int primaryCount, int secondaryCount, int populationPedCount)
SET_PED_MODEL_PERSONALITY
(Hash modelHash, Hash personalityHash)
SET_PED_PROP_INDEX
(Ped ped, int componentId, int drawableId, int textureId, BOOL attach)
SET_PED_RANDOM_COMPONENT_VARIATION
(Ped ped, int p1)
SET_PED_RANDOM_PROPS
(Ped ped)
SET_PED_RESET_FLAG
(Ped ped, int flagId, BOOL doReset)
SET_PED_TO_RAGDOLL
(Ped ped, int time1, int time2, int ragdollType, BOOL p4, BOOL p5, BOOL p6)
SET_PED_TO_RAGDOLL_WITH_FALL
(Ped ped, int time, int p2, int ragdollType, float x, float y, float z, float p7, float p8, float p9, float p10, float p11, float p12, float p13)
SET_PED_TURNING_THRESHOLDS
(float min, float max)
SET_PLAYER_CONTROL
(Player player, BOOL bHasControl, int flags)
SET_PLAYER_CULLING_RADIUS
(char* playerSrc, float radius)
SET_PLAYER_INVINCIBLE
(Player player, BOOL bInvincible)
SET_PLAYER_MAX_STAMINA
(Player playerId, float maxStamina)
SET_PLAYER_MODEL
(Player player, Hash model)
SET_PLAYER_ROUTING_BUCKET
(char* playerSrc, int bucket)
SET_PLAYER_STAMINA
(Player playerId, float stamina)