The Send command teleports the targeted players to another player. It complements Tp, which brings players to the spot the caller is looking at, and Tpto, which takes the caller to a player.

Summary

Methods

Teleports the targeted players to the destination player and notifies them and staff.

Methods

CMD:on_run(actor, targets, destination)

shared plugins/admin/plugin/commands/sh_send.lua:24

Teleports the targeted players to the destination player and notifies them and staff. The previous position of everyone who is moved is kept for the Return command. The destination is found like any other command target, by an exact name, a SteamID or a target selector, but is not checked for immunity, since nothing happens to them; if a selector matches several players the first one is used. A name that several players have is refused.

Parameters

  • actor Player the caller, or an invalid entity when run from the server console
  • targets List<Player> players to teleport
  • destination String exact name, SteamID or target selector of the player to teleport them to

Defined in