StatsClientBlocked

playstatsSwitchPassiveMode

PLAYSTATS_SWITCH_PASSIVE_MODE0x35EEC6C2BC821A71

The GTA V native PLAYSTATS_SWITCH_PASSIVE_MODE of the STATS namespace, as LS:MP client scripts call it: the global function playstatsSwitchPassiveMode, in JavaScript and in Lua.

SignatureJavaScript
playstatsSwitchPassiveMode(
  p0: boolean,
  p1: number,
  p2: number,
  p3: number
): void
SignatureLua
playstatsSwitchPassiveMode(
  p0: boolean,
  p1: integer,
  p2: integer,
  p3: integer
)
✕
Blocked for scripts: Rockstar accounts and commerce

Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with storage.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Stats STATS
In the game
void PLAYSTATS_SWITCH_PASSIVE_MODE(BOOL p0, int p1, int p2, int p3)
Hash
0x35EEC6C2BC821A71
Introduced
Game build 1734 legacy numbering
Formerly
_PLAYSTATS_PASSIVE_MODE

Open in the interactive natives reference