MoneyClientBlocked

networkEarnFromAmbientJob

NETWORK_EARN_FROM_AMBIENT_JOB0xFB6DB092FBAE29E6

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

SignatureJavaScript
networkEarnFromAmbientJob(p0: number, p1: string, p2: null): void
SignatureLua
networkEarnFromAmbientJob(p0: integer, p1: string, p2: 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_EARN_FROM_AMBIENT_JOB(int p0, const char* p1, Any* p2)
Hash
0xFB6DB092FBAE29E6
Formerly
_NETWORK_EARN_FROM_AMBIENT_JOB

Open in the interactive natives reference