# PED::_GET_TOTAL_PED_DAMAGE_FROM_AI

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

## Signature

```c
float _GET_TOTAL_PED_DAMAGE_FROM_AI(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`float`

## Description

_GET_WA*

## Usage

### Lua

```lua
local retval = GetTotalPedDamageFromAi(ped)

-- always available, by hash
local retval = Citizen.InvokeNative(0x92C8EACA29F6BED6, ped, Citizen.ResultAsFloat())
```

### JavaScript

```js
const retval = GetTotalPedDamageFromAi(ped);

// by hash
const retval = Citizen.invokeNative('0x92C8EACA29F6BED6', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
```

### C#

```csharp
float retval = Function.Call<float>((Hash)0x92C8EACA29F6BED6, ped);
```

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

## See also

- [PED::_SET_TOTAL_PED_DAMAGE_FROM_AI](https://natives.borderlinerp.com/natives/PED/_SET_TOTAL_PED_DAMAGE_FROM_AI.md) — _SET_W(EAPON?)*

*Sources: alloc8or RDR3 NativeDB.*
