UPDATE_PLAYER_TELEPORT
Updates the teleport of player and returns true when it has finished.
Signature
BOOL UPDATE_PLAYER_TELEPORT(Player player); // 0xC39DCE4672CBFBC1 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | UPDATE_PLAYER_TELEPORT |
|---|---|
| Hash | 0xC39DCE4672CBFBC1 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC39DCE4672CBFBC1, -- UPDATE_PLAYER_TELEPORT
PlayerId() -- Player player
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC39DCE4672CBFBC1", // UPDATE_PLAYER_TELEPORT
PlayerId(), // Player player
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC39DCE4672CBFBC1, // UPDATE_PLAYER_TELEPORT
API.PlayerId() // Player player
);Related PLAYER natives
- IS_PLAYER_TELEPORT_ACTIVE
- START_PLAYER_TELEPORT
- STOP_PLAYER_TELEPORT
- UPDATE_WANTED_POSITION_THIS_FRAME
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET_AT_COORDS
- _ADD_PLAYER_AS_FOLLOW_TARGET
- _CLEAR_PED_EAGLE_EYE_TRAILS_FOR_PLAYER
- _DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET
- _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
- _FORMAT_PLAYER_NAME_STRING
- _GET_ACTIVE_HORSE_FOR_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.