networkSpendBuyCasino
NETWORK_SPEND_BUY_CASINO0x34A6FC4D06C4DA0FThe GTA V native NETWORK_SPEND_BUY_CASINO of the MONEY namespace, as LS:MP client scripts call it: the global function networkSpendBuyCasino, in JavaScript and in Lua.
networkSpendBuyCasino(
amount: number,
p1: boolean,
p2: boolean,
data: null
): voidnetworkSpendBuyCasino(amount: integer, p1: boolean, p2: boolean, data: nil)✕
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_BUY_CASINO(int amount, BOOL p1, BOOL p2, Any* data)- Hash
0x34A6FC4D06C4DA0F- Introduced
- Game build 1734 legacy numbering
- Formerly
_NETWORK_SPENT_BUY_CASINO