# PED::DELETE_PED

- **Hash:** `0xCC0EF140F99365C5`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `DeletePed`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/DELETE_PED

## Signature

```c
void DELETE_PED(Ped* ped);
```

## Parameters

- `ped` (`Ped*`)

## Returns

`void`

## Description

Deletes the specified ped, then sets the handle pointed to by the pointer to NULL.

## Usage

### Lua

```lua
local ped = DeletePed(ped)

-- always available, by hash
local ped = Citizen.InvokeNative(0xCC0EF140F99365C5, Citizen.PointerValueIntInitialized(ped))
```

### JavaScript

```js
const ped = DeletePed(ped);

// by hash
const ped = Citizen.invokeNative('0xCC0EF140F99365C5', Citizen.pointerValueIntInitialized(ped));
```

### C#

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

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

*Sources: alloc8or RDR3 NativeDB.*
