networkEarnBonusObjective
_NETWORK_EARN_BONUS_OBJECTIVE0xDCEF983C24191997The GTA V native _NETWORK_EARN_BONUS_OBJECTIVE of the MONEY namespace, as LS:MP client scripts call it: the global function networkEarnBonusObjective, in JavaScript and in Lua.
networkEarnBonusObjective(amount: number, p1: any, p2: any): voidnetworkEarnBonusObjective(amount: integer, p1: any, p2: any)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
networkEarnBonusObjective(amount, p1, p2);Lua
networkEarnBonusObjective(amount, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
amount | int | number | integer |
p1 | Any | any | any |
p2 | Any | any | any |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Money MONEY
- In the game
void _NETWORK_EARN_BONUS_OBJECTIVE(int amount, Any p1, Any p2)- Hash
0xDCEF983C24191997- Introduced
- Game build 2944 legacy numbering