StatsClientBlocked

packedStatGetIntStatIndex

PACKED_STAT_GET_INT_STAT_INDEX0x94F12ABF9C79E339

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

SignatureJavaScript
packedStatGetIntStatIndex(p0: number): number
SignatureLua
packedStatGetIntStatIndex(p0: integer): integer
✕
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
int PACKED_STAT_GET_INT_STAT_INDEX(int p0)
Hash
0x94F12ABF9C79E339
Formerly
_STAT_GET_PACKED_INT_MASK

Open in the interactive natives reference