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