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

unitName removeWeapon weaponName

Operand types

unitName: Object
weaponName: String

Type of returned value

Description

Remove weapon from the unit.

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

Used In

OFP/ArmA

Example

player removeWeapon "M16"

Advertisement