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:
icomrade
2016-07-21 17:42:25 -04:00
parent 4544e743fd
commit 0414c67284
3 changed files with 3 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ _HasKeyCheck = {
}; };
} count _inventory; } count _inventory;
}; };
_keyFound; true; //change to _keyFound; to require key to sell vehicle
}; };
_totalPrice = 0; _totalPrice = 0;
if(_total > 0)then{ if(_total > 0)then{

View File

@@ -31,6 +31,7 @@ _deleteTradedVehicle = {
}; };
} forEach (items player); } forEach (items player);
}; };
_localResult2 = 1; //comment out to require key to sell vehicles
if (isNil "_localResult2") then { if (isNil "_localResult2") then {
_localResult2 = 0; _localResult2 = 0;
} else { } else {

View File

@@ -13,7 +13,7 @@ _weaps = _this select 2;
_bags = []; _bags = [];
_vehInfo = []; _vehInfo = [];
_keyID = 0; _keyID = 0;
_deleteVeh = false; _deleteVeh = true; //set to false to require key to sell vehicles
if(count _this > 3) then { if(count _this > 3) then {
if (count (_this select 3) > 0) then { if (count (_this select 3) > 0) then {