mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 10:26:28 +03:00
Fuel container can be emptied now
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
if (dayz_actionInProgress) exitWith {localize "str_player_actionslimit" call dayz_rollingMessages;};
|
||||
dayz_actionInProgress = true;
|
||||
|
||||
private ["_vehicle","_canSize","_configVeh","_capacity","_nameType","_curFuel","_newFuel","_dis","_sfx","_fueling","_array","_cantype",
|
||||
"_emptycan","_started","_finished","_animState","_isRefuel","_type"];
|
||||
|
||||
@@ -8,7 +9,7 @@ _cantype = _array select 0;
|
||||
_vehicle = _array select 1;
|
||||
_type = typeOf _vehicle;
|
||||
_canSize = getNumber(configFile >> "cfgMagazines" >> _cantype >> "fuelQuantity");
|
||||
_emptycan = getText(configFile >> "cfgMagazines" >> _cantype >> "emptycan");
|
||||
_emptycan = getText(configFile >> "cfgMagazines" >> _cantype >> "containerEmpty");
|
||||
_configVeh = configFile >> "cfgVehicles" >> _type;
|
||||
_capacity = getNumber(_configVeh >> "fuelCapacity");
|
||||
_nameType = getText(_configVeh >> "displayName");
|
||||
|
||||
Reference in New Issue
Block a user