Skip to main content

Player::setCanTeleportToGroupLeader

This only will teleport the ped to the group leader if the group leader teleports (sets coords).

Only works in singleplayer

Syntax​

player.setCanTeleportToGroupLeader(groupHandle, toggle);

Required Arguments​

  • groupHandle: int
  • toggle: Boolean

Return value​

  • Undefined

Example​

// todo