{"hash":"0xC17A94CC8FC3C61A","ns":"PED","name":"_SET_PED_RAGDOLL_BONE_SCALE","slug":"_SET_PED_RAGDOLL_BONE_SCALE","official":false,"named":true,"luaName":"SetPedRagdollBoneScale","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"boneId","type":"int"},{"name":"scaleX","type":"float"},{"name":"scaleY","type":"float"},{"name":"scaleZ","type":"float"}],"summary":"Modifies the size/scale of the collision capsule or hitbox for a specific ped bone.","descriptions":[{"source":"alloc8or","format":"text","body":"Modifies the size/scale of the collision capsule or hitbox for a specific ped bone.\nDefault 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."},{"source":"vorp","format":"text","body":"seems to modify the size/scale of the collision capsule (hitbox) for a specific ped bone"}],"examples":[],"aliases":[],"enums":["eAnimBoneTag"],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_RAGDOLL_BONE_SCALE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_RAGDOLL_BONE_SCALE.md","snippets":{"lua":"SetPedRagdollBoneScale(ped, boneId, scaleX, scaleY, scaleZ)","luaInvoke":"Citizen.InvokeNative(0xC17A94CC8FC3C61A, ped, boneId, scaleX, scaleY, scaleZ)","js":"SetPedRagdollBoneScale(ped, boneId, scaleX, scaleY, scaleZ);","jsInvoke":"Citizen.invokeNative('0xC17A94CC8FC3C61A', ped, boneId, scaleX + 0.0000001, scaleY + 0.0000001, scaleZ + 0.0000001);","csharp":"Function.Call((Hash)0xC17A94CC8FC3C61A, ped, boneId, scaleX, scaleY, scaleZ);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to 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 `InvokeNative` with the hash — it always works."]}}