StatsClientNot in this build

playstatsRandomEvent

_PLAYSTATS_RANDOM_EVENT0x7EA06F970F999394

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

SignatureJavaScript
playstatsRandomEvent(p0: any): void
SignatureLua
playstatsRandomEvent(p0: 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
playstatsRandomEvent(p0);
Lua
playstatsRandomEvent(p0)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Stats STATS
In the game
void _PLAYSTATS_RANDOM_EVENT(Any p0)
Hash
0x7EA06F970F999394
Introduced
Game build 2944 legacy numbering

Open in the interactive natives reference