Player::clone

From RAGE Multiplayer Wiki

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

player.clone(heading, networkHandle, pedHandle);

Required Arguments

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

Return value

  • Ped handle or object

Example

// todo

See also