UPDATE_PLAYER_TELEPORT
Hash
0xC39DCE4672CBFBC1Runtime name
UpdatePlayerTeleportNamespacePLAYER
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xE23D5873C2394C61Signature
BOOL UPDATE_PLAYER_TELEPORT(Player player);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | — |
Returns BOOL
Usage
local retval = UpdatePlayerTeleport(player)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC39DCE4672CBFBC1, player, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = UpdatePlayerTeleport(player);
// by hash
const retval = Citizen.invokeNative('0xC39DCE4672CBFBC1', player, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xC39DCE4672CBFBC1, player);See also
START_PLAYER_TELEPORTSTOP_PLAYER_TELEPORTDisables the player's teleportation
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.