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

getRepairCargo vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns the repair cabability left (between 0 and 1) in the cargo space of a repair vehicle.

Used In

Arma3

Example

value = getFuelCargo myVehicleName;

if (getRepairCargo _truck > 0) then {
hint "This truck can repair you.";
};

Advertisement