networkSpentSkipCargoSourceSetup
_NETWORK_SPENT_SKIP_CARGO_SOURCE_SETUP0xED1B407BADA42CECThe GTA V native _NETWORK_SPENT_SKIP_CARGO_SOURCE_SETUP of the MONEY namespace, as LS:MP client scripts call it: the global function networkSpentSkipCargoSourceSetup, in JavaScript and in Lua.
networkSpentSkipCargoSourceSetup(
amount: number,
fromBank: boolean,
fromBankAndWallet: boolean,
cost: number
): voidnetworkSpentSkipCargoSourceSetup(
amount: integer,
fromBank: boolean,
fromBankAndWallet: boolean,
cost: integer
)⚠
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
networkSpentSkipCargoSourceSetup(amount, fromBank, fromBankAndWallet, cost);Lua
networkSpentSkipCargoSourceSetup(amount, fromBank, fromBankAndWallet, cost)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
amount | int | number | integer |
fromBank | BOOL | boolean | boolean |
fromBankAndWallet | BOOL | boolean | boolean |
cost | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Money MONEY
- In the game
void _NETWORK_SPENT_SKIP_CARGO_SOURCE_SETUP(int amount, BOOL fromBank, BOOL fromBankAndWallet, int cost)- Hash
0xED1B407BADA42CEC- Introduced
- Game build 2944 legacy numbering