mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Check Slot for Veh Upgrade
This commit is contained in:
parent
a1b8227831
commit
6590d3d655
@ -33,6 +33,9 @@ _classUpgrade = getarray (_config >> _vehType >> "upgradeToVehicle");
|
||||
if (_classUpgrade isequalto []) exitwith {
|
||||
["Vehicle not upgradeable",5] call Epoch_message;
|
||||
};
|
||||
if ((_veh getvariable ["Vehicle_Slot","-1"]) isequalto "-1") exitwith {
|
||||
["Vehicle not upgradeable",5] call Epoch_message;
|
||||
};
|
||||
|
||||
{
|
||||
_classUpgrade = _x;
|
||||
|
Loading…
Reference in New Issue
Block a user