mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
0.69 + 1.7.5.M1D15
This commit is contained in:
@@ -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 = [];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user