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

vehicle setRepairCargo amount

Operand types

vehicle: Object
amount: Number

Type of returned value

Description

Set amount of repair resources in cargo space of repair vehicle.
Amount 1 is full cargo.

Used In

OFP/ArmA

Example

repairTruck1 setRepairCargo 0

Advertisement