MoneyClientNot in this build

networkSpentSkipCargoSourceSetup

_NETWORK_SPENT_SKIP_CARGO_SOURCE_SETUP0xED1B407BADA42CEC

The 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.

SignatureJavaScript
networkSpentSkipCargoSourceSetup(
  amount: number,
  fromBank: boolean,
  fromBankAndWallet: boolean,
  cost: number
): void
SignatureLua
networkSpentSkipCargoSourceSetup(
  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

ParameterTypeJavaScriptLua
amountintnumberinteger
fromBankBOOLbooleanboolean
fromBankAndWalletBOOLbooleanboolean
costintnumberinteger

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

Open in the interactive natives reference