# PED::GET_PED_TIME_OF_DEATH

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

## Signature

```c
int GET_PED_TIME_OF_DEATH(Ped ped);
```

## Parameters

- `ped` (`Ped`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetPedTimeOfDeath(ped)

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

### JavaScript

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

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

### C#

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

*Sources: alloc8or RDR3 NativeDB.*
