Soldier.countItems 2
Counts how many items with this id the soldier is carrying.
Return value
| Return Type | Description |
|---|---|
| integer | The number of matching items, zero if none. |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | Id of the item to count. |
Examples
No examples available.
