networkSetPlayerIsPassive
NETWORK_SET_PLAYER_IS_PASSIVE0x1B857666604B1A74The GTA V native NETWORK_SET_PLAYER_IS_PASSIVE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetPlayerIsPassive, in JavaScript and in Lua.
networkSetPlayerIsPassive(toggle: boolean): voidnetworkSetPlayerIsPassive(toggle: boolean)Usage
JavaScript
networkSetPlayerIsPassive(toggle);Lua
networkSetPlayerIsPassive(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_PLAYER_IS_PASSIVE(BOOL toggle)- Hash
0x1B857666604B1A74