Player.teleportToPlayer: Difference between revisions
From Runsafe
Jump to navigationJump to search
imported>Kruithne 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 03: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.