StatsClientNot in this build

playstatsPhActivity

_PLAYSTATS_PH_ACTIVITY

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

SignatureJavaScript
playstatsPhActivity(
  p0: any,
  p1: any,
  p2: any,
  p3: any,
  p4: any,
  p5: any,
  p6: any,
  p7: any
): void
SignatureLua
playstatsPhActivity(
  p0: any,
  p1: any,
  p2: any,
  p3: any,
  p4: any,
  p5: any,
  p6: any,
  p7: any
)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
playstatsPhActivity(p0, p1, p2, p3, p4, p5, p6, p7);
Lua
playstatsPhActivity(p0, p1, p2, p3, p4, p5, p6, p7)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany
p1Anyanyany
p2Anyanyany
p3Anyanyany
p4Anyanyany
p5Anyanyany
p6Anyanyany
p7Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Stats STATS
In the game
void _PLAYSTATS_PH_ACTIVITY(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6, Any p7)

Open in the interactive natives reference