Difference between revisions of "VN fnc log openLogisticsInventory"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson |
− | | | + | |a= global |
− | | | + | |e= local |
− | | | + | |g1= Logistics |
− | |||
− | |||
− | |||
− | + | |d= Opens logistics inventory of the vehicle passed to this function. | |
− | + | Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[VN_fnc_log_openlogisticsinventory]] | + | |s= [player, vehicle] call [[VN_fnc_log_openlogisticsinventory]] |
− | |p1n= | + | |p1n= player |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= player object - mandatory but not used |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= vehicle |
− | |p2t= | + | |p2t= object |
− | |p2d= | + | |p2d= vehicle from which inventory will be opened |
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= {{Biki|true}} when |
− | |x1= <code> | + | |x1= <code>[player, sogJeep] call [[VN_fnc_log_openLogisticsInventory]];</code> |
}} | }} |
Latest revision as of 20:22, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Opens logistics inventory of the vehicle passed to this function. Also used when inventory is reloaded e.g when an item is taken out of a inventory that is in use.
Syntax
- Syntax
- [player, vehicle] call VN_fnc_log_openlogisticsinventory
- Parameters
- player: Object - player object - mandatory but not used
- vehicle: Object - vehicle from which inventory will be opened
- Return value
- Boolean - true when
Examples
- Example 1
[player, sogJeep] call VN_fnc_log_openLogisticsInventory;