_SET_PED_RAGDOLL_BONE_SCALE
Based on its name and signature, here is our best reading:
Appears to scale the ragdoll bone boneId of ped.
Signature
void _SET_PED_RAGDOLL_BONE_SCALE(Ped ped, int boneId, float scaleX, float scaleY, float scaleZ); // 0xC17A94CC8FC3C61A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | boneId | int |
| 3 | scaleX | float |
| 4 | scaleY | float |
| 5 | scaleZ | float |
Facts
| Name | _SET_PED_RAGDOLL_BONE_SCALE |
|---|---|
| Hash | 0xC17A94CC8FC3C61A |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xC17A94CC8FC3C61A, -- _SET_PED_RAGDOLL_BONE_SCALE
PlayerPedId(), -- Ped ped
0, -- int boneId
0.0, -- float scaleX
0.0, -- float scaleY
0.0 -- float scaleZ
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xC17A94CC8FC3C61A", // _SET_PED_RAGDOLL_BONE_SCALE
PlayerPedId(), // Ped ped
0, // int boneId
0.0, // float scaleX
0.0, // float scaleY
0.0 // float scaleZ
);Function.Call((Hash)0xC17A94CC8FC3C61A, // _SET_PED_RAGDOLL_BONE_SCALE
API.PlayerPedId(), // Ped ped
0, // int boneId
0.0f, // float scaleX
0.0f, // float scaleY
0.0f // float scaleZ
);Related PED natives
- _SET_PED_SCALE
- _SET_PED_TO_DISABLE_RAGDOLL
- _GET_PED_RAGDOLL_BONE_INDEX
- _SET_PED_ACTION_DISABLE_FLAG
- _SET_PED_ACTIVATE_WOUND_EFFECT
- _SET_PED_ACTIVE_PLAYER_TYPE
- _SET_PED_ANIMAL_DETECTION_MODIFIER
- _SET_PED_BEAT_MULTIPLIER
- _SET_PED_BLACKBOARD_BOOL
- _SET_PED_BLACKBOARD_FLOAT
- _SET_PED_BLACKBOARD_HASH
- _SET_PED_BLACKBOARD_INT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.