Skip to content
On this page

Athena.player.teleport

Functions

goto

Usage

Athena.player.teleport.goto(player, target): void

Teleport first player to second player.

Export

Parameters

NameType
playerPlayer
targetany

Returns

void

Defined in

server/player/teleport.ts:11


manyPlayersToAnotherPlayer

Usage

Athena.player.teleport.manyPlayersToAnotherPlayer(target, players): void

Teleport many players to the a player.

Export

Parameters

NameType
targetPlayer
playersstring[] | Player[] | number[]

Returns

void

Defined in

server/player/teleport.ts:50


toMe

Usage

Athena.player.teleport.toMe(player, target): void

Teleport second player to first player.

Export

Parameters

NameType
playerPlayer
targetany

Returns

void

Defined in

server/player/teleport.ts:31


toPosition

Usage

Athena.player.teleport.toPosition(player, pos): void

Teleport a player to a position.

Export

Parameters

NameType
playerPlayer
posIVector3

Returns

void

Defined in

server/player/teleport.ts:78


toVehicle

Usage

Athena.player.teleport.toVehicle(player, vehicle): void

Teleport a player to a vehicle.

Export

Parameters

NameType
playerPlayer
vehicleVehicle

Returns

void

Defined in

server/player/teleport.ts:63

Created by Stuyk | Est. 2020