mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
#848 remember melee mags after skinchange
This commit is contained in:
@@ -90,6 +90,13 @@ player allowDamage true;
|
|||||||
player addWeapon "Loot";
|
player addWeapon "Loot";
|
||||||
player addWeapon "Flare";
|
player addWeapon "Flare";
|
||||||
|
|
||||||
|
//melee check
|
||||||
|
_wpnType = primaryWeapon player;
|
||||||
|
_ismelee = (gettext (configFile >> "CfgWeapons" >> _wpnType >> "melee"));
|
||||||
|
if (_ismelee == "true") then {
|
||||||
|
call dayz_meleeMagazineCheck;
|
||||||
|
};
|
||||||
|
|
||||||
sleep 0.1;
|
sleep 0.1;
|
||||||
|
|
||||||
if (!isNull _old) then {
|
if (!isNull _old) then {
|
||||||
|
|||||||
Reference in New Issue
Block a user