playstatsAlert
_PLAYSTATS_ALERT0x5649CA22AF74E019The 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.
playstatsAlert(data: null): voidplaystatsAlert(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
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
data | Any* | null | nil |
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