Player.teleportToPlayer

From Runsafe
Revision as of 04:02, 4 June 2013 by Kruithne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Details

Arguments

  • playerName (String) - The name of the player to teleport. [Required]
  • targetPlayer (String) - The name of the target player. [Required]

Returns

  • Nothing.

Usage

engine.player.teleportToPlayer('Kruithne', 'docpify');
engine.player.sendMessage('docpify', 'Here, have a Kruithne');

Notes

  • No effect if either of the players are offline or non-existant.