DELETE_PED
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
void DELETE_PED(Ped* ped); // 0xCC0EF140F99365C5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped* (out pointer) |
Facts
| 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.
local ped = Citizen.InvokeNative(0xCC0EF140F99365C5, -- DELETE_PED
Citizen.PointerValueInt() -- Ped* ped
)
print(ped)const ped = Citizen.invokeNative("0xCC0EF140F99365C5", // DELETE_PED
Citizen.pointerValueInt() // Ped* ped
);
console.log(ped)var pedArg = new OutputArgument();
Function.Call((Hash)0xCC0EF140F99365C5, // DELETE_PED
pedArg // Ped* ped
);
int ped = pedArg.GetResult<int>();Related PED natives
- _APPLY_PED_META_PED_OUTFIT
- _CAN_PED_HEAR_TARGET_PED
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
- _GET_IS_PED_IN_DISPUTE_WITH_PED
- _GET_PED_WHO_HOGITIED_THIS_PED
- _REFRESH_CARRIED_PED_FOR_PED
- CAN_PED_SEE_PED_CACHED
- IS_PED_FACING_PED
- IS_PED_HEADTRACKING_PED
- DISABLE_PED_INJURED_ON_GROUND_BEHAVIOUR
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.