StatsClientNot in this build

playstatsAlert

_PLAYSTATS_ALERT0x5649CA22AF74E019

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

SignatureJavaScript
playstatsAlert(data: null): void
SignatureLua
playstatsAlert(data: nil)
⚠
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
playstatsAlert(null);
Lua
playstatsAlert(nil)

Parameters

ParameterTypeJavaScriptLua
dataAny*nullnil

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Stats STATS
In the game
void _PLAYSTATS_ALERT(Any* data)
Hash
0x5649CA22AF74E019
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference