canAdd: Difference between revisions
Jump to navigation
Jump to search
m (format) |
Waffle SS. (talk | contribs) (Added see also) |
||
Line 29: | Line 29: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[canAddItemToBackpack]], [[canAddItemToUniform]], [[canAddItemToVest]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 17:00, 19 October 2014
Description
- Description:
- Check if given object can be stored in inventory of given unit.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (player canAdd "FirstAidKit") then { player addItem "FirstAidKit"; } else { hint "Not enough space"; };
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note