START_PLAYER_TELEPORT
Starts teleporting player to the given coordinates and heading.
Poll UPDATE_PLAYER_TELEPORT until it reports completion.
Signature
void START_PLAYER_TELEPORT(Player player, float x, float y, float z, float heading, BOOL p5, BOOL p6, BOOL p7, BOOL p8); // 0xDF8822C55EDDA65B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
| 5 | heading | float |
| 6 | p5 | BOOL |
| 7 | p6 | BOOL |
| 8 | p7 | BOOL |
| 9 | p8 | BOOL |
Facts
| Name | START_PLAYER_TELEPORT |
|---|---|
| Hash | 0xDF8822C55EDDA65B |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xDF8822C55EDDA65B, -- START_PLAYER_TELEPORT
PlayerId(), -- Player player
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float heading
false, -- BOOL p5
false, -- BOOL p6
false, -- BOOL p7
false -- BOOL p8
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xDF8822C55EDDA65B", // START_PLAYER_TELEPORT
PlayerId(), // Player player
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float heading
false, // BOOL p5
false, // BOOL p6
false, // BOOL p7
false // BOOL p8
);Function.Call((Hash)0xDF8822C55EDDA65B, // START_PLAYER_TELEPORT
API.PlayerId(), // Player player
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f, // float heading
false, // BOOL p5
false, // BOOL p6
false, // BOOL p7
false // BOOL p8
);Related PLAYER natives
- STOP_PLAYER_TELEPORT
- CAN_PLAYER_START_MISSION
- IS_PLAYER_TELEPORT_ACTIVE
- UPDATE_PLAYER_TELEPORT
- SET_EVERYONE_IGNORE_PLAYER
- SET_PED_AS_TEMP_PLAYER_HORSE
- SET_PLAYER_CAN_BE_HASSLED_BY_GANGS
- SET_PLAYER_CAN_USE_COVER
- SET_PLAYER_CLOTH_PIN_FRAMES
- SET_PLAYER_CONTROL
- SET_PLAYER_FORCED_AIM
- SET_PLAYER_HEALTH_RECHARGE_MULTIPLIER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.