FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_PLAYER_TALKING_OVERRIDE
(Player player, BOOL state)
SET_PLAYER_WANTED_LEVEL
(Player player, int wantedLevel, BOOL delayedResponse)
SET_RESOURCE_KVP
(char* key, char* value)
SET_RESOURCE_KVP_FLOAT
(char* key, float value)
SET_RESOURCE_KVP_FLOAT_NO_SYNC
(char* key, float value)
SET_RESOURCE_KVP_INT
(char* key, int value)
SET_RESOURCE_KVP_INT_NO_SYNC
(char* key, int value)
SET_RESOURCE_KVP_NO_SYNC
(char* key, char* value)
SET_RICH_PRESENCE
(char* presenceState)