getPackedTuIntStatKey
GET_PACKED_TU_INT_STAT_KEY0xD16C2AD6B8E32854The GTA V native GET_PACKED_TU_INT_STAT_KEY of the STATS namespace, as LS:MP client scripts call it: the global function getPackedTuIntStatKey, in JavaScript and in Lua.
getPackedTuIntStatKey(
index: number,
spStat: boolean,
charStat: boolean,
character: number
): HashgetPackedTuIntStatKey(
index: integer,
spStat: boolean,
charStat: boolean,
character: integer
): 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_TU_INT_STAT_KEY(int index, BOOL spStat, BOOL charStat, int character)- Hash
0xD16C2AD6B8E32854- Formerly
_GET_TUPSTAT_INT_HASH_GET_PACKED_TITLE_UPDATE_INT_STAT_KEY