clonePedToTargetAlt
CLONE_PED_TO_TARGET_ALT0x148B08C2D2ACB884The GTA V native CLONE_PED_TO_TARGET_ALT of the PED namespace, as LS:MP client scripts call it: the global function clonePedToTargetAlt, in JavaScript and in Lua.
clonePedToTargetAlt(ped: Ped, targetPed: Ped, p2: boolean): voidclonePedToTargetAlt(ped: Ped, targetPed: Ped, p2: boolean)Usage
JavaScript
clonePedToTargetAlt(ped, targetPed, p2);Lua
clonePedToTargetAlt(ped, targetPed, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
targetPed | Ped | number | integer |
p2 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void CLONE_PED_TO_TARGET_ALT(Ped ped, Ped targetPed, BOOL p2)- Hash
0x148B08C2D2ACB884- Introduced
- Game build 463 legacy numbering
- Formerly
_CLONE_PED_TO_TARGET_EX