RedM Natives

CLONE_PED_TO_TARGET

Copies ped's components and props to targetPed.

Hash0xE952D6431689AD9A
Runtime nameClonePedToTarget
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xE952D6431689AD9A

Signature

void CLONE_PED_TO_TARGET(Ped ped, Ped targetPed);

Parameters

NameTypeDescription
pedPed—
targetPedPed—

Returns void

Description

Copies ped's components and props to targetPed.
Can be used to clear anything from a ped by cloning it, including bullet holes.

Usage

Lua
ClonePedToTarget(ped, targetPed)

-- always works, by hash
Citizen.InvokeNative(0xE952D6431689AD9A, ped, targetPed)
JavaScript and C#
JavaScript
ClonePedToTarget(ped, targetPed);

// by hash
Citizen.invokeNative('0xE952D6431689AD9A', ped, targetPed);
C#
Function.Call((Hash)0xE952D6431689AD9A, ped, targetPed);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.