StatsClientNot in this build

playstatsFlowMedium

_PLAYSTATS_FLOW_MEDIUM0xC4493521BAA12CCE

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

SignatureJavaScript
playstatsFlowMedium(
  posX: number,
  posY: number,
  posZ: number,
  action: string,
  p4: boolean,
  p5: number
): void
SignatureLua
playstatsFlowMedium(
  posX: number,
  posY: number,
  posZ: number,
  action: string,
  p4: boolean,
  p5: integer
)
⚠
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
playstatsFlowMedium(posX, posY, posZ, action, p4, p5);
Lua
playstatsFlowMedium(posX, posY, posZ, action, p4, p5)

Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.

JavaScript · with vectors
playstatsFlowMedium(pos, action, p4, p5);
Lua · with vectors
playstatsFlowMedium(pos, action, p4, p5)

Parameters

ParameterTypeJavaScriptLua
posXfloatnumbernumber
posYfloatnumbernumber
posZfloatnumbernumber
actionstringstringstring
p4BOOLbooleanboolean
p5intnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Stats STATS
In the game
void _PLAYSTATS_FLOW_MEDIUM(float posX, float posY, float posZ, const char* action, BOOL p4, int p5)
Hash
0xC4493521BAA12CCE
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference