START_PLAYER_TELEPORT
Hash
0xDF8822C55EDDA65BRuntime name
StartPlayerTeleportNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xAD15F075A4DA0FDESignature
void START_PLAYER_TELEPORT(Player player, float x, float y, float z, float heading, BOOL p5, BOOL p6, BOOL p7, BOOL p8);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
x | float | — |
y | float | — |
z | float | — |
heading | float | — |
p5 | BOOL | — |
p6 | BOOL | — |
p7 | BOOL | — |
p8 | BOOL | — |
Returns void
Usage
StartPlayerTeleport(player, x, y, z, heading, p5, p6, p7, p8)
-- always works, by hash
Citizen.InvokeNative(0xDF8822C55EDDA65B, player, x, y, z, heading, p5, p6, p7, p8)JavaScript and C#
StartPlayerTeleport(player, x, y, z, heading, p5, p6, p7, p8);
// by hash
Citizen.invokeNative('0xDF8822C55EDDA65B', player, x + 0.0000001, y + 0.0000001, z + 0.0000001, heading + 0.0000001, p5, p6, p7, p8);Function.Call((Hash)0xDF8822C55EDDA65B, player, x, y, z, heading, p5, p6, p7, p8);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
See also
UPDATE_PLAYER_TELEPORTSTOP_PLAYER_TELEPORTDisables the player's teleportation
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.