_SET_PED_RAGDOLL_BONE_SCALE
Modifies the size/scale of the collision capsule or hitbox for a specific ped bone.
Hash
0xC17A94CC8FC3C61ARuntime name
SetPedRagdollBoneScaleNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_RAGDOLL_BONE_SCALE(Ped ped, int boneId, float scaleX, float scaleY, float scaleZ);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
boneId | int | — |
scaleX | float | — |
scaleY | float | — |
scaleZ | float | — |
Returns void
Description
Modifies the size/scale of the collision capsule or hitbox for a specific ped bone.
Default scale values are typically 1.0, 1.0, 1.0. Values below 1.0 shrink the collision boundary, while values above 1.0 enlarge it.
seems to modify the size/scale of the collision capsule (hitbox) for a specific ped bone
Usage
SetPedRagdollBoneScale(ped, boneId, scaleX, scaleY, scaleZ)
-- always works, by hash
Citizen.InvokeNative(0xC17A94CC8FC3C61A, ped, boneId, scaleX, scaleY, scaleZ)JavaScript and C#
SetPedRagdollBoneScale(ped, boneId, scaleX, scaleY, scaleZ);
// by hash
Citizen.invokeNative('0xC17A94CC8FC3C61A', ped, boneId, scaleX + 0.0000001, scaleY + 0.0000001, scaleZ + 0.0000001);Function.Call((Hash)0xC17A94CC8FC3C61A, ped, boneId, scaleX, scaleY, scaleZ);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- eAnimBoneTag 911 values
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.