VN_fnc_whitelisted_arsenal_loadInventory
(Redirected from VN fnc whitelisted arsenal loadinventory)
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Adds loadout to character while also listing objects that have been skipped.
Syntax
- Syntax
- [crate, settings, allowedItems] call VN_fnc_whitelisted_arsenal_loadInventory
- Parameters
- crate: Object - object that will have the items added to it
- settings: Array - format [namespace, loadoutName] - settings that are used to get the inventory
- allowedItems: Array - list of whitelisted items
- Return value
- String
Examples
- Example 1
[sogCrate, [missionNamespace, "Rifleman"], []] call VN_fnc_whitelisted_arsenal_loadInventory;