MoneyClientBlocked

networkCasinoCanBet

NETWORK_CASINO_CAN_BET0x158C16F5E4CF41F8

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

SignatureJavaScript
networkCasinoCanBet(hash: Hash): boolean
SignatureLua
networkCasinoCanBet(hash: Hash): 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_CASINO_CAN_BET(Hash hash)
Hash
0x158C16F5E4CF41F8
Introduced
Game build 1734 legacy numbering
Formerly
_NETWORK_CASINO_CAN_USE_GAMBLING_TYPE

Open in the interactive natives reference