Difference between revisions of "Player.teleportToPlayer"

From Runsafe
Jump to: navigation, search
(Created page with "== Details == ''Arguments'' * '''playerName''' (String) - The name of the player to teleport. [Required] * '''targetPlayer''' (String) - The name of the target player. [Requir...")
 
(No difference)

Latest revision as of 04:02, 4 June 2013

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.