mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
No longer require key to sell a vehicle
Still requires the vehicle to be local, meaning you were the last person to be in the driver seat.
This commit is contained in:
@@ -41,7 +41,7 @@ _HasKeyCheck = {
|
||||
};
|
||||
} count _inventory;
|
||||
};
|
||||
_keyFound;
|
||||
true; //change to _keyFound; to require key to sell vehicle
|
||||
};
|
||||
_totalPrice = 0;
|
||||
if(_total > 0)then{
|
||||
|
||||
@@ -31,6 +31,7 @@ _deleteTradedVehicle = {
|
||||
};
|
||||
} forEach (items player);
|
||||
};
|
||||
_localResult2 = 1; //comment out to require key to sell vehicles
|
||||
if (isNil "_localResult2") then {
|
||||
_localResult2 = 0;
|
||||
} else {
|
||||
|
||||
@@ -13,7 +13,7 @@ _weaps = _this select 2;
|
||||
_bags = [];
|
||||
_vehInfo = [];
|
||||
_keyID = 0;
|
||||
_deleteVeh = false;
|
||||
_deleteVeh = true; //set to false to require key to sell vehicles
|
||||
|
||||
if(count _this > 3) then {
|
||||
if (count (_this select 3) > 0) then {
|
||||
|
||||
Reference in New Issue
Block a user