StatsClientBlocked

playstatsSubWeap

PLAYSTATS_SUB_WEAP0xD4367D310F079DB0

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

SignatureJavaScript
playstatsSubWeap(p0: any, p1: any, p2: any, p3: any): void
SignatureLua
playstatsSubWeap(p0: any, 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_SUB_WEAP(Any p0, Any p1, Any p2, Any p3)
Hash
0xD4367D310F079DB0
Introduced
Game build 2189 legacy numbering
Formerly
_PLAYSTATS_SUB_WEAP

Open in the interactive natives reference