#997 Optional Disable PZed

This commit is contained in:
Skaronator
2014-01-19 19:45:49 +01:00
parent 97311b4928
commit dc64a90841
2 changed files with 9 additions and 1 deletions

View File

@@ -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");