StatsClientBlocked

playstatsRandomMissionDone

PLAYSTATS_RANDOM_MISSION_DONE0x71862B1D855F32E1

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

SignatureJavaScript
playstatsRandomMissionDone(name: string, p1: any, p2: any, p3: any): void
SignatureLua
playstatsRandomMissionDone(name: string, p1: any, p2: any, p3: any)
✕
Blocked for scripts: Rockstar accounts and commerce

Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with storage.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Stats STATS
In the game
void PLAYSTATS_RANDOM_MISSION_DONE(const char* name, Any p1, Any p2, Any p3)
Hash
0x71862B1D855F32E1

Open in the interactive natives reference