mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Delete Chainsaw gas on relog if the player had a chainsaw in his backpack
This commit is contained in:
@@ -678,14 +678,16 @@ class FSM
|
|||||||
" //Magazines" \n
|
" //Magazines" \n
|
||||||
" _countr = 0;" \n
|
" _countr = 0;" \n
|
||||||
" {" \n
|
" {" \n
|
||||||
" if (_x == ""BoltSteel"") then { _x = ""1Rnd_Arrow_Wood"" }; // Convert BoltSteel to WoodenArrow" \n
|
" if (_x != ""CSGAS"") then {" \n
|
||||||
" if (dayz_classicBloodBagSystem) then {" \n
|
" if (_x == ""BoltSteel"") then { _x = ""1Rnd_Arrow_Wood"" }; // Convert BoltSteel to WoodenArrow" \n
|
||||||
" if (_x in dayz_typedBags) then {_x = ""ItemBloodbag""};" \n
|
" if (dayz_classicBloodBagSystem) then {" \n
|
||||||
" } else {" \n
|
" if (_x in dayz_typedBags) then {_x = ""ItemBloodbag""};" \n
|
||||||
" if (_x == ""ItemBloodbag"") then { _x = ""bloodBagONEG"" }; // Convert ItemBloodbag into universal blood type/rh bag" \n
|
" } else {" \n
|
||||||
|
" if (_x == ""ItemBloodbag"") then { _x = ""bloodBagONEG"" }; // Convert ItemBloodbag into universal blood type/rh bag" \n
|
||||||
|
" };" \n
|
||||||
|
" dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];" \n
|
||||||
" };" \n
|
" };" \n
|
||||||
" dayz_myBackpack addMagazineCargoGlobal [_x,(_backpackMagQty select _countr)];" \n
|
" _countr = _countr + 1;" \n
|
||||||
" _countr = _countr + 1;" \n
|
|
||||||
" } forEach _backpackMagTypes;" \n
|
" } forEach _backpackMagTypes;" \n
|
||||||
" " \n
|
" " \n
|
||||||
" dayz_myBackpackMags = getMagazineCargo dayz_myBackpack;" \n
|
" dayz_myBackpackMags = getMagazineCargo dayz_myBackpack;" \n
|
||||||
|
|||||||
Reference in New Issue
Block a user