mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
comment out tow truck code
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user