VN_fnc_log_getInventory
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Returns the inventory of the provided vehicle.
PARAMETERS: (0): OBJECT - Object/vehicle that the inventory should be checked RETURNS: ARRAY
Syntax
- Syntax
- [vehicle] call VN_fnc_log_getInventory
- Parameters
- vehicle: Object - vehicle or crate from which to get the inventory
- Return value
- Array of Object - list of inventory objects
Examples
- Example 1
[sogJeep] call VN_fnc_log_getInventory