StreamingClient

setPlayerSwitchEstablishingShot

SET_PLAYER_SWITCH_ESTABLISHING_SHOT0x0FDE9DBFC0A6BC65

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

SignatureJavaScript
setPlayerSwitchEstablishingShot(name: string): void
SignatureLua
setPlayerSwitchEstablishingShot(name: string)

Usage

JavaScript
setPlayerSwitchEstablishingShot(name);
Lua
setPlayerSwitchEstablishingShot(name)

Parameters

ParameterTypeJavaScriptLua
namestringstringstring

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

All names can be found in playerswitchestablishingshots.meta

Reference

Namespace
Streaming STREAMING
In the game
void SET_PLAYER_SWITCH_ESTABLISHING_SHOT(const char* name)
Hash
0x0FDE9DBFC0A6BC65

Open in the interactive natives reference