Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.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