# PED::_APPLY_PED_DAMAGE_PACK_TO_BONE

- **Hash:** `0x58D32261AE0F0843`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `ApplyPedDamagePackToBone`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/_APPLY_PED_DAMAGE_PACK_TO_BONE

## Signature

```c
void _APPLY_PED_DAMAGE_PACK_TO_BONE(Ped ped, int boneId, float xOffset, float yOffset, float zOffset, float xRot, float yRot, float zRot, const char* damagePack);
```

## Parameters

- `ped` (`Ped`)
- `boneId` (`int`)
- `xOffset` (`float`)
- `yOffset` (`float`)
- `zOffset` (`float`)
- `xRot` (`float`)
- `yRot` (`float`)
- `zRot` (`float`)
- `damagePack` (`const char*`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Applies damage pack to a ped bone with offset and rotation.
Note: for boneId only PD_Vomit seems to work.

Preview: https://imgur.com/a/qwEGXEu

*Source: VORPCORE RDR3natives*

seems to only work with PD_Vomit ?

## Usage

### Lua

```lua
ApplyPedDamagePackToBone(ped, boneId, xOffset, yOffset, zOffset, xRot, yRot, zRot, damagePack)

-- always available, by hash
Citizen.InvokeNative(0x58D32261AE0F0843, ped, boneId, xOffset, yOffset, zOffset, xRot, yRot, zRot, damagePack)
```

### JavaScript

```js
ApplyPedDamagePackToBone(ped, boneId, xOffset, yOffset, zOffset, xRot, yRot, zRot, damagePack);

// by hash
Citizen.invokeNative('0x58D32261AE0F0843', ped, boneId, xOffset + 0.0000001, yOffset + 0.0000001, zOffset + 0.0000001, xRot + 0.0000001, yRot + 0.0000001, zRot + 0.0000001, damagePack);
```

### C#

```csharp
Function.Call((Hash)0x58D32261AE0F0843, ped, boneId, xOffset, yOffset, zOffset, xRot, yRot, zRot, damagePack);
```

- 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.

## Related enums

- [eAnimBoneTag](https://natives.borderlinerp.com/enums/eAnimBoneTag.md) — 911 values

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
