MoneyClientBlocked

networkEarnFromWarehouse

NETWORK_EARN_FROM_WAREHOUSE0x3E4ADAFF1830F146

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

SignatureJavaScript
networkEarnFromWarehouse(amount: number, id: number): void
SignatureLua
networkEarnFromWarehouse(amount: integer, id: integer)
✕
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_FROM_WAREHOUSE(int amount, int id)
Hash
0x3E4ADAFF1830F146
Introduced
Game build 757 legacy numbering
Formerly
_NETWORK_EARN_FROM_WAREHOUSE

Open in the interactive natives reference