StreamingClient

getPlayerSwitchInterpOutDuration

GET_PLAYER_SWITCH_INTERP_OUT_DURATION0x08C2D6C52A3104BB

The GTA V native GET_PLAYER_SWITCH_INTERP_OUT_DURATION of the STREAMING namespace, as LS:MP client scripts call it: the global function getPlayerSwitchInterpOutDuration, in JavaScript and in Lua.

SignatureJavaScript
getPlayerSwitchInterpOutDuration(): number
SignatureLua
getPlayerSwitchInterpOutDuration(): integer

Usage

JavaScript
const result = getPlayerSwitchInterpOutDuration();
Lua
local result = getPlayerSwitchInterpOutDuration()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Streaming STREAMING
In the game
int GET_PLAYER_SWITCH_INTERP_OUT_DURATION()
Hash
0x08C2D6C52A3104BB
Formerly
SET_PLAYER_INVERTED_UP

Open in the interactive natives reference