MoneyClientBlocked

networkEarnTargetRefund

NETWORK_EARN_TARGET_REFUND0x5B669CF2299A271F

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

SignatureJavaScript
networkEarnTargetRefund(amount: number, p1: number): void
SignatureLua
networkEarnTargetRefund(amount: integer, p1: 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_TARGET_REFUND(int amount, int p1)
Hash
0x5B669CF2299A271F
Introduced
Game build 1290 legacy numbering
Formerly
_NETWORK_EARN_FROM_TARGET_REFUND

Open in the interactive natives reference