0.69 + 1.7.5.M1D15

This commit is contained in:
vbawol
2013-01-18 12:25:49 -06:00
parent 662d62d781
commit 4cab61bf63
81 changed files with 1061 additions and 532 deletions

View File

@@ -106,7 +106,7 @@ while {true} do {
//Has infection?
if (r_player_infected) then {
[player,"cough",8,false] call dayz_zombieSpeak;
[player,"cough",8,true] call dayz_zombieSpeak;
};
//Record Check
@@ -176,8 +176,9 @@ while {true} do {
//If has infection reduce blood
if (r_player_infected) then {
if (r_player_blood > 6000) then {
if (r_player_blood > 3000) then {
r_player_blood = r_player_blood - 3;
player setVariable["USEC_BloodQty",r_player_blood];
};
};
@@ -219,8 +220,7 @@ while {true} do {
if ((time - dayz_damageCounter) > 180) then {
if (!r_player_unconscious) then {
dayz_canDisconnect = true;
dayzDiscoRem = getPlayerUID player;
publicVariableServer "dayzDiscoRem";
["dayzDiscoRem",getPlayerUID player] call callRpcProcedure;
//Ensure Control is hidden
_display = uiNamespace getVariable 'DAYZ_GUI_display';
@@ -233,11 +233,8 @@ while {true} do {
//Save Checker
if (dayz_unsaved) then {
if ((time - dayz_lastSave) > _saveTime) then {
dayzPlayerSave = [player,dayz_Magazines,false];
publicVariableServer "dayzPlayerSave";
if (isServer) then {
dayzPlayerSave call server_playerSync;
};
["dayzPlayerSave",[player,dayz_Magazines,false]] call callRpcProcedure;
dayz_lastSave = time;
dayz_Magazines = [];
};