mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-25 19:26:08 +03:00
minor changes 0.98
This commit is contained in:
@@ -6,20 +6,23 @@ _unit = _array select 0;
|
||||
_medic = _array select 1;
|
||||
|
||||
if (_unit == player) then {
|
||||
r_fracture_legs = true;
|
||||
r_fracture_arms = true;
|
||||
_unit setHit["legs",1];
|
||||
_unit setHit["hands",1];
|
||||
|
||||
//Ensure Control is visible
|
||||
// Make bleed
|
||||
r_player_injured = true;
|
||||
_unit setVariable ["USEC_injured",true,true];
|
||||
|
||||
//Ensure Control is visible for bleeding
|
||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||
_control = _display displayCtrl 1203;
|
||||
_control = _display displayCtrl 1300;
|
||||
_control ctrlShow true;
|
||||
|
||||
_id = true spawn dayz_disableRespawn;
|
||||
|
||||
// Make player infected
|
||||
// r_player_infected = true;
|
||||
// _unit setVariable["USEC_infected",true];
|
||||
|
||||
};
|
||||
_unit setVariable ["hit_legs",1,false];
|
||||
_unit setVariable ["hit_hands",1,false];
|
||||
|
||||
|
||||
|
||||
if (isServer) then {
|
||||
_unit setVariable["medForceUpdate",true];
|
||||
|
||||
Reference in New Issue
Block a user