WorldTeleportLocalPlayer Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Teleports the local player to the specified position.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: (0.56.1131.11510)

public static void TeleportLocalPlayer(
	Vector3 position,
	bool toGround


Type: RageVector3
The position to teleport the local player to.
Type: SystemBoolean

If true, the Z component of the position will be ignored, and the player will be placed on the ground.

Note, that this requires execution over multiple ticks! (That is, the plugin will yield during execution of this method, if this parameter is set to true>)

If the game is paused, it be unpaused.

See Also