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

vehicleName setVehicleAmmoDef value

Operand types

vehicleName: Object
value: Number

Type of returned value

Description

Sets how much ammunition (compared to the current configuration of magazines, but fully loaded) the vehicle has.

Used In

Arma3

Example

tank1 setVehicleAmmoDef 0;

Advertisement