magazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP 1.96|MAGAZINES]]
[[Category:Scripting Commands OFP 1.96|MAGAZINES]]
[[Category:Scripting Commands ArmA|MAGAZINES]]
[[Category:Scripting Commands ArmA|MAGAZINES]]
{{Command|= Comments
____________________________________________________________________________________________


| ofpr |= Game name


<h2 style="color:#000066">'''magazines ''vehicle'''''</h2>
|1.75|= Game version
____________________________________________________________________________________________


| Returns array of type names of all vehicle's magazines. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''magazines''' vehicle |= Syntax


'''vehicle:''' [[Object]]
|p1= vehicle: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_mags = magazines [[player]]</pre> |= Example 1
____________________________________________________________________________________________


[[Array]]
|  |= See also


'''Compatibility:'''
}}


Added in version '''1.75'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Returns array of type names of all vehicle's magazines.
<h3 style="display:none">Bottom Section</h3>
 
 
'''Example:'''
 
_mags = '''magazines''' [[player]]

Revision as of 00:44, 2 August 2006


Hover & click on the images for description

Description

Description:
Returns array of type names of all vehicle's magazines.
Groups:
Uncategorised

Syntax

Syntax:
magazines vehicle
Parameters:
vehicle: Object
Return Value:
Array

Examples

Example 1:
_mags = magazines [[player]]

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