networkSpendUpgradeCasino
NETWORK_SPEND_UPGRADE_CASINO0x4740D62BC1B4EBEAThe GTA V native NETWORK_SPEND_UPGRADE_CASINO of the MONEY namespace, as LS:MP client scripts call it: the global function networkSpendUpgradeCasino, in JavaScript and in Lua.
networkSpendUpgradeCasino(
amount: number,
p1: boolean,
p2: boolean,
data: null
): voidnetworkSpendUpgradeCasino(
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_UPGRADE_CASINO(int amount, BOOL p1, BOOL p2, Any* data)- Hash
0x4740D62BC1B4EBEA- Introduced
- Game build 1734 legacy numbering
- Formerly
_NETWORK_SPENT_UPGRADE_CASINO