MoneyClientBlocked

networkEarnCasinoAward

NETWORK_EARN_CASINO_AWARD0x973A9781A34F8DEB

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

SignatureJavaScript
networkEarnCasinoAward(amount: number, hash: Hash): void
SignatureLua
networkEarnCasinoAward(amount: integer, hash: Hash)
✕
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_EARN_CASINO_AWARD(int amount, Hash hash)
Hash
0x973A9781A34F8DEB
Introduced
Game build 1734 legacy numbering
Formerly
_NETWORK_EARN_FROM_CASINO_AWARD

Open in the interactive natives reference