The Lab
PED native

DELETE_PED

returns void1 parambuild 1207

Deletes the ped referenced by ped and clears the handle.

The script must own the ped, for example by marking it as a mission entity.

Signature

C
void DELETE_PED(Ped* ped); // 0xCC0EF140F99365C5 b1207

Parameters

#NameType
1pedPed* (out pointer)

Facts

Facts about DELETE_PED
Name
DELETE_PED
Hash
0xCC0EF140F99365C5
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local ped = Citizen.InvokeNative(0xCC0EF140F99365C5, -- DELETE_PED
  Citizen.PointerValueInt() -- Ped* ped
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0xCC0EF140F99365C5", // DELETE_PED
  Citizen.pointerValueInt() // Ped* ped
);
console.log(ped)
C#
var pedArg = new OutputArgument();
Function.Call((Hash)0xCC0EF140F99365C5, // DELETE_PED
  pedArg // Ped* ped
);
int ped = pedArg.GetResult<int>();
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.