mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-16 05:39:58 +03:00
replace tent class
This commit is contained in:
@@ -703,6 +703,7 @@ class FSM
|
||||
" _countr = 0;" \n
|
||||
" {" \n
|
||||
" if (_x == ""BoltSteel"") then { _x = ""WoodenArrow"" }; // Convert BoltSteel to WoodenArrow" \n
|
||||
" if (_x == ""ItemTent"") then { _x = ""ItemTentOld"" };" \n
|
||||
" dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];" \n
|
||||
" _countr = _countr + 1;" \n
|
||||
" } forEach _backpackMagTypes;" \n
|
||||
|
||||
@@ -207,6 +207,7 @@ if (isServer and isNil "sm_done") then {
|
||||
_countr = 0;
|
||||
{
|
||||
if (_x == "BoltSteel") then { _x = "WoodenArrow" }; // Convert BoltSteel to WoodenArrow
|
||||
if (_x == "ItemTent") then { _x = "ItemTentOld" };
|
||||
_isOK = isClass(configFile >> "CfgMagazines" >> _x);
|
||||
if (_isOK) then {
|
||||
_block = getNumber(configFile >> "CfgMagazines" >> _x >> "stopThis") == 1;
|
||||
|
||||
Reference in New Issue
Block a user