Athena.player.teleport ​
Functions ​
goto ​
Usage
Athena.player.teleport.goto(player
, target
): void
Teleport first player to second player.
Export
Parameters ​
Name | Type |
---|---|
player | Player |
target | any |
Returns ​
void
Defined in ​
manyPlayersToAnotherPlayer ​
Usage
Athena.player.teleport.manyPlayersToAnotherPlayer(target
, players
): void
Teleport many players to the a player.
Export
Parameters ​
Name | Type |
---|---|
target | Player |
players | string [] | Player [] | number [] |
Returns ​
void
Defined in ​
toMe ​
Usage
Athena.player.teleport.toMe(player
, target
): void
Teleport second player to first player.
Export
Parameters ​
Name | Type |
---|---|
player | Player |
target | any |
Returns ​
void
Defined in ​
toPosition ​
Usage
Athena.player.teleport.toPosition(player
, pos
): void
Teleport a player to a position.
Export
Parameters ​
Name | Type |
---|---|
player | Player |
pos | IVector3 |
Returns ​
void
Defined in ​
toVehicle ​
Usage
Athena.player.teleport.toVehicle(player
, vehicle
): void
Teleport a player to a vehicle.
Export
Parameters ​
Name | Type |
---|---|
player | Player |
vehicle | Vehicle |
Returns ​
void