add 2 new vars and fix up variable names

DZE_HeartBeat
DZE_UseBloodTypes
This commit is contained in:
icomrade
2016-03-01 00:23:14 -05:00
parent a3dac45061
commit bad0a2e461
28 changed files with 112 additions and 121 deletions

View File

@@ -102,8 +102,8 @@ if (_infectionChance != 0 && {abs(_infectionChance) > random 1}) then
//Publish messing
player setVariable ["messing",[dayz_hunger,dayz_thirst,dayz_nutrition],false]; //No need to be sent to everyplayer
PVDZ_serverStoreVar = [player,"messing",[dayz_hunger,dayz_thirst,dayz_nutrition]]; //update server side only
publicVariableServer "PVDZ_serverStoreVar";
PVDZE_serverStoreVar = [player,"messing",[dayz_hunger,dayz_thirst,dayz_nutrition]]; //update server side only
publicVariableServer "PVDZE_serverStoreVar";
//Play sound and alert zombies
if (_sound != "") then