mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-26 03:36:02 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
20
SQF/dayz_code/medical/epinephrine.sqf
Normal file
20
SQF/dayz_code/medical/epinephrine.sqf
Normal file
@@ -0,0 +1,20 @@
|
||||
// bleed.sqf
|
||||
_unit = (_this select 3) select 0;
|
||||
_isDead = _unit getVariable["USEC_isDead",false];
|
||||
call fnc_usec_medic_removeActions;
|
||||
|
||||
player playActionNow "Medic";
|
||||
player removeMagazine "ItemEpinephrine";
|
||||
|
||||
sleep 3;
|
||||
|
||||
if (!_isDead) then {
|
||||
_unit setVariable ["NORRN_unconscious", false, true];
|
||||
_unit setVariable ["USEC_isCardiac",false,true];
|
||||
sleep 5;
|
||||
//["usecEpi",[_unit,player,"ItemEpinephrine"]] call broadcastRpcCallAll;
|
||||
usecEpi = [_unit,player,"ItemEpinephrine"];
|
||||
publicVariable "usecEpi";
|
||||
};
|
||||
|
||||
r_action = false;
|
||||
Reference in New Issue
Block a user