MoneyClientBlocked

networkDeductCash

NETWORK_DEDUCT_CASH0x18B7AE224B087E26

The GTA V native NETWORK_DEDUCT_CASH of the MONEY namespace, as LS:MP client scripts call it: the global function networkDeductCash, in JavaScript and in Lua.

SignatureJavaScript
networkDeductCash(
  amount: number,
  p1: string,
  p2: string,
  p3: boolean,
  p4: boolean,
  p5: boolean
): void
SignatureLua
networkDeductCash(
  amount: integer,
  p1: string,
  p2: string,
  p3: boolean,
  p4: boolean,
  p5: 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_DEDUCT_CASH(int amount, const char* p1, const char* p2, BOOL p3, BOOL p4, BOOL p5)
Hash
0x18B7AE224B087E26
Formerly
_NETWORK_DEDUCT_CASH

Open in the interactive natives reference