# PED::GET_PED_LAST_DAMAGE_BONE

- **Hash:** `0xD75960F6BD9EA49C`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `GetPedLastDamageBone`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/GET_PED_LAST_DAMAGE_BONE

## Signature

```c
BOOL GET_PED_LAST_DAMAGE_BONE(Ped ped, int* outBone);
```

## Parameters

- `ped` (`Ped`)
- `outBone` (`int*`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval, outBone = GetPedLastDamageBone(ped, outBone)

-- always available, by hash
local retval, outBone = Citizen.InvokeNative(0xD75960F6BD9EA49C, ped, Citizen.PointerValueIntInitialized(outBone), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, outBone] = GetPedLastDamageBone(ped, outBone);

// by hash
const [retval, outBone] = Citizen.invokeNative('0xD75960F6BD9EA49C', ped, Citizen.pointerValueIntInitialized(outBone), Citizen.returnResultAnyway());
```

### C#

```csharp
var outBone = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xD75960F6BD9EA49C, ped, outBone);
// outBone.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.

## Related enums

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

## See also

- [PED::CLEAR_PED_LAST_DAMAGE_BONE](https://natives.borderlinerp.com/natives/PED/CLEAR_PED_LAST_DAMAGE_BONE.md)

*Sources: alloc8or RDR3 NativeDB.*
