getPackedNgIntStatKey
GET_PACKED_NG_INT_STAT_KEY0x2B4CDCA6F07FF3DAThe GTA V native GET_PACKED_NG_INT_STAT_KEY of the STATS namespace, as LS:MP client scripts call it: the global function getPackedNgIntStatKey, in JavaScript and in Lua.
getPackedNgIntStatKey(
index: number,
spStat: boolean,
charStat: boolean,
character: number,
section: string
): HashgetPackedNgIntStatKey(
index: integer,
spStat: boolean,
charStat: boolean,
character: integer,
section: string
): Hash✕
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
Hash GET_PACKED_NG_INT_STAT_KEY(int index, BOOL spStat, BOOL charStat, int character, const char* section)- Hash
0x2B4CDCA6F07FF3DA- Formerly
_GET_NGSTAT_INT_HASH