mirror of
https://github.com/Fallingsheep1985/Arma3Epoch.git
synced 2024-08-30 16:42:12 +00:00
14 lines
734 B
Plaintext
14 lines
734 B
Plaintext
//BUILD BIKE
|
|
if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{
|
|
act = player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"custom\Bike.sqf","",5,false,true,"",""];
|
|
};
|
|
//BUILD CHOPPER
|
|
if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then {
|
|
act = player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"custom\chopper.sqf","",5,false,true,"",""];
|
|
};
|
|
//PACK BIKE
|
|
_target = cursorTarget;
|
|
_isbike = _target isKindOf "ebike_epoch";
|
|
if (_isbike) then{
|
|
player addaction [("<t color=""#0074E8"">" + ("PackBike") +"</t>"),"custom\packbike2.sqf","",5,false,true,"",""];
|
|
}; |