StatsClientNot in this build

playstatsFlowHigh

_PLAYSTATS_FLOW_HIGH0xCFB0E9C3456319EA

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

SignatureJavaScript
playstatsFlowHigh(
  posX: number,
  posY: number,
  posZ: number,
  action: string,
  p4: boolean,
  p5: number
): void
SignatureLua
playstatsFlowHigh(
  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
playstatsFlowHigh(posX, posY, posZ, action, p4, p5);
Lua
playstatsFlowHigh(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
playstatsFlowHigh(pos, action, p4, p5);
Lua · with vectors
playstatsFlowHigh(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_HIGH(float posX, float posY, float posZ, const char* action, BOOL p4, int p5)
Hash
0xCFB0E9C3456319EA
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference