mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
0.69 + 1.7.5.M1D15
This commit is contained in:
@@ -3,6 +3,9 @@ _unit = (_this select 3) select 0;
|
||||
_lowBlood = _unit getVariable ["USEC_lowBlood", false];
|
||||
_injured = _unit getVariable ["USEC_injured", false];
|
||||
_inPain = _unit getVariable ["USEC_inPain", false];
|
||||
_lastused = _unit getVariable ["LastTransfusion", time];
|
||||
|
||||
if (_lastused - time < 600) exitwith {cutText [format[(localize "str_actions_medical_18"),_text] , "PLAIN DOWN"]};
|
||||
|
||||
call fnc_usec_medic_removeActions;
|
||||
r_action = false;
|
||||
@@ -35,12 +38,12 @@ while {r_doLoop} do {
|
||||
r_doLoop = false;
|
||||
|
||||
if (_finished) then {
|
||||
_unit setVariable["LastTransfusion",time,true];
|
||||
_unit setVariable["USEC_lowBlood",false,true];
|
||||
player removeMagazine "ItemBloodbag";
|
||||
usecTransfuse = [_unit,player];
|
||||
publicVariable "usecTransfuse";
|
||||
dayzHumanity = [player,250];
|
||||
_id = dayzHumanity spawn player_humanityChange;
|
||||
["usecTransfuse",[_unit,player]] call broadcastRpcCallAll;
|
||||
|
||||
["dayzHumanity",[player,250]] call dayzHumanity_code;
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
player switchMove "";
|
||||
|
||||
Reference in New Issue
Block a user