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

```js player.setCanTeleportToGroupLeader(groupHandle, toggle); ```

Required Arguments

  • groupHandle: int
  • toggle: Boolean

Return value

  • Undefined

Example

```js // todo ```

See also