switchToMultiSecondpart
SWITCH_TO_MULTI_SECONDPART0xD8295AF639FD9CB8The 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.
switchToMultiSecondpart(ped: Ped): voidswitchToMultiSecondpart(ped: Ped)Usage
JavaScript
switchToMultiSecondpart(ped);Lua
switchToMultiSecondpart(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
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