MoneyClientBlocked

networkSpendCasinoGeneric

NETWORK_SPEND_CASINO_GENERIC0x88BF9B612B84D3C3

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

SignatureJavaScript
networkSpendCasinoGeneric(
  amount: number,
  p1: any,
  p2: any,
  p3: any,
  p4: any
): void
SignatureLua
networkSpendCasinoGeneric(
  amount: integer,
  p1: any,
  p2: any,
  p3: any,
  p4: 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
Money MONEY
In the game
void NETWORK_SPEND_CASINO_GENERIC(int amount, Any p1, Any p2, Any p3, Any p4)
Hash
0x88BF9B612B84D3C3
Introduced
Game build 1734 legacy numbering
Formerly
_NETWORK_SPENT_CASINO_GENERIC

Open in the interactive natives reference