Game code
PLAYER::UPDATE_PLAYER_TELEPORT
0x8D34043E3C6231B9 ·RVA 0x0450AC70
Signature
BOOL UPDATE_PLAYER_TELEPORT(Player player, Any p1);
Parameters 2
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Player | player |
– |
| 1 | Any | p1 |
the game doesn't read it. |
Returns
BOOL
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p1 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::UPDATE_PLAYER_TELEPORT
auto result = invoke<BOOL>(0x8D34043E3C6231B9, player, p1);// PLAYER::UPDATE_PLAYER_TELEPORT
bool result = Function.Call<bool>((Hash)0x8D34043E3C6231B9, player, p1);-- PLAYER::UPDATE_PLAYER_TELEPORT
local result = Citizen.InvokeNative(0x8D34043E3C6231B9, player, p1)// PLAYER::UPDATE_PLAYER_TELEPORT
const result = Citizen.invokeNative("0x8D34043E3C6231B9", player, 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.