DELETE_PED
Deletes the specified ped, then sets the handle pointed to by the pointer to NULL.
Hash
0xCC0EF140F99365C5Runtime name
DeletePedNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9614299DCB53E54BSignature
void DELETE_PED(Ped* ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped* | — |
Returns void
Description
Deletes the specified ped, then sets the handle pointed to by the pointer to NULL.
Usage
local ped = DeletePed(ped)
-- always works, by hash
local ped = Citizen.InvokeNative(0xCC0EF140F99365C5, Citizen.PointerValueIntInitialized(ped))JavaScript and C#
const ped = DeletePed(ped);
// by hash
const ped = Citizen.invokeNative('0xCC0EF140F99365C5', Citizen.pointerValueIntInitialized(ped));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
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.