StatsClientBlocked

playstatsActivityDone

PLAYSTATS_ACTIVITY_DONE0xA071E0ED98F91286

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

SignatureJavaScript
playstatsActivityDone(p0: number, activityId: number, p2: any): void
SignatureLua
playstatsActivityDone(p0: integer, activityId: integer, p2: 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_ACTIVITY_DONE(int p0, int activityId, Any p2)
Hash
0xA071E0ED98F91286

Open in the interactive natives reference