currentMagazine: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added example)
m (Fixed code tags)
Line 21: Line 21:




|x1= <code>_magazineClass = currentMagazine player;//Example: "30Rnd_545x39_AK"</code>|= EXAMPLE1  
|x1= <pre>_magazineClass = currentMagazine player;//Example: "30Rnd_545x39_AK"</pre>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 17:31, 4 October 2010

Hover & click on the images for description

Description

Description:
Return the name of the type of the currently using magazine (on the primary turret for vehicles).
Groups:
Uncategorised

Syntax

Syntax:
currentMagazine vehicle
Parameters:
vehicle: -
Return Value:
String

Examples

Example 1:
_magazineClass = currentMagazine player;//Example: "30Rnd_545x39_AK"

Additional Information

See also:
See also needed

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