networkGetCanSpendFromBankAndWallet
NETWORK_GET_CAN_SPEND_FROM_BANK_AND_WALLET0xDC18531D7019A535The GTA V native NETWORK_GET_CAN_SPEND_FROM_BANK_AND_WALLET of the MONEY namespace, as LS:MP client scripts call it: the global function networkGetCanSpendFromBankAndWallet, in JavaScript and in Lua.
networkGetCanSpendFromBankAndWallet(
amount: number,
characterSlot: number
): booleannetworkGetCanSpendFromBankAndWallet(
amount: integer,
characterSlot: integer
): 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_GET_CAN_SPEND_FROM_BANK_AND_WALLET(int amount, int characterSlot)- Hash
0xDC18531D7019A535- Formerly
_NETWORK_GET_VC_BANK_WALLET_BALANCE_IS_NOT_LESS_THAN