Warning: file_put_contents(/ff_a2e7a35621243f09876dc69a6deedfb1cddd65ac8a214598.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
removeMagazines - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName removeMagazines magazineName

Operand types

unitName: Object
magazineName: String

Type of returned value

Description

Remove all magazines of given type from the unit.

Note: You may create invalid combinations with this function. When doing so, application behaviour is undefined.

Used In

OFP/ArmA

Example

player removeMagazines "M16"

Advertisement