Skip to main content

Player::clone

p3 - last parameter does not mean ped handle is returned maybe a quick view in disassembly will tell us what is actually does

Example of Cloning Your Player: CLONE_PED(PLAYER_Player_ID(), GET_ENTITY_HEADING(PLAYER_Player_ID()), 0, 1);

Syntax

```js player.clone(heading, networkHandle, pedHandle); ```

Required Arguments

  • heading: float
  • networkHandle: Boolean
  • pedHandle: Boolean

Return value

  • Ped handle or object

Example

```js // todo ```

See also