PlayerClient

stopPlayerTeleport

STOP_PLAYER_TELEPORT0xC449EDED9D73009C

The GTA V native STOP_PLAYER_TELEPORT of the PLAYER namespace, as LS:MP client scripts call it: the global function stopPlayerTeleport, in JavaScript and in Lua.

SignatureJavaScript
stopPlayerTeleport(): void
SignatureLua
stopPlayerTeleport()

Usage

JavaScript
stopPlayerTeleport();
Lua
stopPlayerTeleport()

Parameters

None.

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Disables the player's teleportation

Reference

Namespace
Player PLAYER
In the game
void STOP_PLAYER_TELEPORT()
Hash
0xC449EDED9D73009C

Open in the interactive natives reference