NetworkClient

networkSetPlayerIsPassive

NETWORK_SET_PLAYER_IS_PASSIVE0x1B857666604B1A74

The 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.

SignatureJavaScript
networkSetPlayerIsPassive(toggle: boolean): void
SignatureLua
networkSetPlayerIsPassive(toggle: boolean)

Usage

JavaScript
networkSetPlayerIsPassive(toggle);
Lua
networkSetPlayerIsPassive(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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

Open in the interactive natives reference