ammoOnPylon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>hint str ((vehicle player) '''ammoOnPylon''' "pylonCenter");</code>|= Example 1
|x1= <code>[[hint]] [[str]] (([[vehicle]] [[player]]) '''ammoOnPylon''' "pylonCenter");</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:16, 16 May 2017

Hover & click on the images for description

Description

Description:
Returns ammo count on given pylon. Returns false (Bool) on failure.
Groups:
Uncategorised

Syntax

Syntax:
vehicle ammoOnPylon (pylon name/index)
Parameters:
vehicle: Object
pylon name/index : String or Number
Return Value:
Number or Bool

Examples

Example 1:
hint str ((vehicle player) ammoOnPylon "pylonCenter");

Additional Information

See also:
setAmmoOnPylon getPylonMagazines

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