mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-26 03:36:02 +03:00
Merge selfbloodbag and self_transfuse
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
// bleed.sqf
|
||||
|
||||
private ["_unit","_isDead"];
|
||||
_unit = (_this select 3) select 0;
|
||||
_isDead = _unit getVariable["USEC_isDead",false];
|
||||
call fnc_usec_medic_removeActions;
|
||||
player removeMagazine "ItemEpinephrine";
|
||||
|
||||
player playActionNow "Medic";
|
||||
player removeMagazine "ItemEpinephrine";
|
||||
|
||||
uiSleep 3;
|
||||
|
||||
@@ -14,7 +12,10 @@ if (!_isDead) then {
|
||||
_unit setVariable ["NORRN_unconscious", false, true];
|
||||
_unit setVariable ["USEC_isCardiac",false,true];
|
||||
uiSleep 5;
|
||||
/* PVS/PVC - Skaronator */
|
||||
|
||||
//give humanity
|
||||
[player,25] call player_humanityChange;
|
||||
|
||||
PVDZ_send = [_unit,"Epinephrine",[_unit,player,"ItemEpinephrine"]];
|
||||
publicVariableServer "PVDZ_send";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user