Player::setCanTeleportToGroupLeader

From RAGE Multiplayer Wiki

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

See also