playstatsCollectiblePickedUp
PLAYSTATS_COLLECTIBLE_PICKED_UP0xCD0A8A9338681CF2The GTA V native PLAYSTATS_COLLECTIBLE_PICKED_UP of the STATS namespace, as LS:MP client scripts call it: the global function playstatsCollectiblePickedUp, in JavaScript and in Lua.
playstatsCollectiblePickedUp(
p0: number,
objectHash: Hash,
p2: any,
p3: any,
moneyAmount: number,
rpAmount: number,
chipsAmount: number,
p7: any,
p8: number,
p9: any,
p10: any
): voidplaystatsCollectiblePickedUp(
p0: integer,
objectHash: Hash,
p2: any,
p3: any,
moneyAmount: integer,
rpAmount: integer,
chipsAmount: integer,
p7: any,
p8: integer,
p9: any,
p10: 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_COLLECTIBLE_PICKED_UP(int p0, Hash objectHash, Any p2, Any p3, int moneyAmount, int rpAmount, int chipsAmount, Any p7, int p8, Any p9, Any p10)- Hash
0xCD0A8A9338681CF2- Introduced
- Game build 1734 legacy numbering
- Formerly
_PLAYSTATS_COLLECTIBLE