Game code
PLAYER::START_PLAYER_TELEPORT
0xA12259A42077DD3A ·RVA 0x04509330
Signature
void START_PLAYER_TELEPORT(
Player player,
Vector3 pos,
float heading,
BOOL p5,
BOOL p6,
BOOL p7,
BOOL p8,
BOOL p0,
Any p1
);
The scripts pass 10 values to this native; the decoded signature lists 9 (arguments the game doesn't read are left out).
Parameters 9
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Player | player |
– |
| 1 | Vector3 | pos |
– |
| 2 | float | heading |
– |
| 3 | BOOL | p5 |
– |
| 4 | BOOL | p6 |
– |
| 5 | BOOL | p7 |
– |
| 6 | BOOL | p8 |
the game doesn't read it. |
| 7 | BOOL | p0 |
– |
| 8 | Any | p1 |
– |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p7 is not in RDR3's signature; the game reads it as a true/false value.
- p8 is not in RDR3's signature; the game reads it as nothing (it is ignored), and the game doesn't read it.
- This lines up with RDR3's signature in more than one way; it takes the one that keeps RDR3's arguments first and puts the new ones after them.
Call it
// PLAYER::START_PLAYER_TELEPORT
invoke<Void>(0xA12259A42077DD3A, player, pos, heading, p5, p6, p7, p8, p0, p1);// PLAYER::START_PLAYER_TELEPORT
Function.Call((Hash)0xA12259A42077DD3A, player, pos, heading, p5, p6, p7, p8, p0, p1);-- PLAYER::START_PLAYER_TELEPORT
Citizen.InvokeNative(0xA12259A42077DD3A, player, pos, heading, p5, p6, p7, p8, p0, p1)// PLAYER::START_PLAYER_TELEPORT
Citizen.invokeNative("0xA12259A42077DD3A", player, pos, heading, p5, p6, p7, p8, p0, p1);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.