mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add support for keeping the key on vehicle sale
This commit is contained in:
@@ -17,7 +17,7 @@ _containerFindKey = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if ((count _VehKey2) > 0) then {
|
if ((count _VehKey2) > 0) then {
|
||||||
if ((_VehKey2 select 0) == "0" || _delType in DZE_tradeVehicleKeyless) then {
|
if ((_VehKey2 select 0) == "0" || _delType in DZE_tradeVehicleKeyless || DZE_keepVehicleKey) then {
|
||||||
_localResult2 = 1;
|
_localResult2 = 1;
|
||||||
} else {
|
} else {
|
||||||
{
|
{
|
||||||
@@ -65,4 +65,4 @@ if ((count _VehKey2) > 0) then {
|
|||||||
} else {
|
} else {
|
||||||
_localResult2 = 0;
|
_localResult2 = 0;
|
||||||
};
|
};
|
||||||
_localResult2;
|
_localResult2;
|
||||||
|
|||||||
Reference in New Issue
Block a user