MoneyClientBlocked

networkEarnFromChallengeWin

NETWORK_EARN_FROM_CHALLENGE_WIN0x2B171E6B2F64D8DF

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

SignatureJavaScript
networkEarnFromChallengeWin(p0: any, p1: null, p2: boolean): void
SignatureLua
networkEarnFromChallengeWin(p0: any, p1: nil, p2: 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
void NETWORK_EARN_FROM_CHALLENGE_WIN(Any p0, Any* p1, BOOL p2)
Hash
0x2B171E6B2F64D8DF

Open in the interactive natives reference