canAdd: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (descriotion made more clear) |
Killzone Kid (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Checks if given object can be stored in inventory container ([[uniform]], [[vest]], [[backpack]]) of given unit. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:36, 8 June 2015
Description
- Description:
- Checks if given object can be stored in inventory container (uniform, vest, backpack) 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