FiveM Docs
/
Native Reference
API Set:
all
server
client
Language:
raw
lua
c#
js
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)
SET_ROPE_LENGTH_CHANGE_RATE
(int rope, float lengthChangeRate)
SET_ROPES_CREATE_NETWORK_WORLD_STATE
(BOOL shouldCreate)
SET_ROUTING_BUCKET_ENTITY_LOCKDOWN_MODE
(int bucketId, char* mode)
SET_ROUTING_BUCKET_POPULATION_ENABLED
(int bucketId, BOOL mode)
SET_RUNTIME_TEXTURE_ARGB_DATA
(long tex, char* buffer, int length)
SET_RUNTIME_TEXTURE_IMAGE
(long tex, char* fileName)
SET_RUNTIME_TEXTURE_PIXEL
(long tex, int x, int y, int r, int g, int b, int a)