comment out tow truck code

This commit is contained in:
[VB]AWOL
2013-10-27 00:07:43 -05:00
parent 34ab662f27
commit 69a0778e29
2 changed files with 4 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ if(_IsNearVehicle >= 1) then {
if((sizeOf typeOf _vehicle) <= _allowedSize) then {
if([_vehicle,_towTruck] call fnc_isInsideBuilding2 and ((vectorUp _vehicle) select 2) > 0.5) then {
if(typeOf _towTruck == "VIL_asistvan_DZE" ) then {
if(typeOf _towTruck == "TOW_DZE" ) then {
_vehicle attachTo [_towTruck,[1.3,-2,2.3]];
_towTruck setVariable ["DZEinTow", true, true];
_towTruck setVariable ["DZEvehicleInTow", _vehicle, true];

View File

@@ -560,7 +560,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
};
//Towing with tow truck
if(_typeOfCursorTarget == "VIL_asistvan_DZE") then {
/*
if(_typeOfCursorTarget == "TOW_DZE") then {
if (s_player_towing < 0) then {
if(!(_cursorTarget getVariable ["DZEinTow", false])) then {
s_player_towing = player addAction ["Attach Straps", "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true, "",""];
@@ -572,6 +573,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
player removeAction s_player_towing;
s_player_towing = -1;
};
*/
//Sleep