networkCanSpendMoney
NETWORK_CAN_SPEND_MONEY0xAB3CAA6B422164DAThe GTA V native NETWORK_CAN_SPEND_MONEY of the MONEY namespace, as LS:MP client scripts call it: the global function networkCanSpendMoney, in JavaScript and in Lua.
networkCanSpendMoney(
p0: any,
p1: boolean,
p2: boolean,
p3: boolean,
p4: any,
p5: any
): booleannetworkCanSpendMoney(
p0: any,
p1: boolean,
p2: boolean,
p3: boolean,
p4: any,
p5: any
): 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
BOOL NETWORK_CAN_SPEND_MONEY(Any p0, BOOL p1, BOOL p2, BOOL p3, Any p4, Any p5)- Hash
0xAB3CAA6B422164DA