getAmmoCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.56|= Game version ____________________...")
 
No edit summary
Line 17: Line 17:




|x1= <code></code>|= EXAMPLE1  
|x1= <code>value = getAmmoCargo myVehicleName;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[setAmmoCargo]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 16:08, 17 May 2013

Hover & click on the images for description

Description

Description:
Returns the amount of ammo resources in the cargo space of a repair vehicle.
Groups:
Uncategorised

Syntax

Syntax:
getAmmoCargo vehicle
Parameters:
vehicle: Object
Return Value:
Number

Examples

Example 1:
value = getAmmoCargo myVehicleName;

Additional Information

See also:
setAmmoCargo

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

Notes

Bottom Section