networkBuyItem
NETWORK_BUY_ITEM0xF0077C797F66A355The GTA V native NETWORK_BUY_ITEM of the MONEY namespace, as LS:MP client scripts call it: the global function networkBuyItem, in JavaScript and in Lua.
networkBuyItem(
amount: number,
item: Hash,
p2: any,
p3: any,
p4: boolean,
item_name: string,
p6: any,
p7: any,
p8: any,
p9: boolean
): voidnetworkBuyItem(
amount: integer,
item: Hash,
p2: any,
p3: any,
p4: boolean,
item_name: string,
p6: any,
p7: any,
p8: any,
p9: boolean
)✕
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
- Money MONEY
- In the game
void NETWORK_BUY_ITEM(int amount, Hash item, Any p2, Any p3, BOOL p4, const char* item_name, Any p6, Any p7, Any p8, BOOL p9)- Hash
0xF0077C797F66A355