StreamingClient

switchToMultiSecondpart

SWITCH_TO_MULTI_SECONDPART0xD8295AF639FD9CB8

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

SignatureJavaScript
switchToMultiSecondpart(ped: Ped): void
SignatureLua
switchToMultiSecondpart(ped: Ped)

Usage

JavaScript
switchToMultiSecondpart(ped);
Lua
switchToMultiSecondpart(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Streaming STREAMING
In the game
void SWITCH_TO_MULTI_SECONDPART(Ped ped)
Hash
0xD8295AF639FD9CB8
Formerly
_SWITCH_IN_PLAYER

Open in the interactive natives reference