mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
#997 Optional Disable PZed
This commit is contained in:
@@ -91,7 +91,11 @@ if (!_isNew) then {
|
||||
};
|
||||
|
||||
} else {
|
||||
_isInfected = _primary select 3;
|
||||
if (DZE_PlayerZed) then {
|
||||
_isInfected = _primary select 3;
|
||||
} else {
|
||||
_isInfected = 0;
|
||||
};
|
||||
_model = _primary select 4;
|
||||
_hiveVer = _primary select 5;
|
||||
|
||||
@@ -103,6 +107,7 @@ if (!_isNew) then {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
//Record initial inventory only if not player zombie
|
||||
if(_isInfected != 1) then {
|
||||
_config = (configFile >> "CfgSurvival" >> "Inventory" >> "Default");
|
||||
|
||||
Reference in New Issue
Block a user