mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
fixed #1040
This commit is contained in:
@@ -165,8 +165,11 @@ if (_damage > 0.4) then { //0.25
|
||||
_pos = getPosATL _unit;
|
||||
_inRange = _pos nearEntities ["CAManBase",1000];
|
||||
{
|
||||
PVDZE_send = [_x,"PlayerBleed",[_unit,_wound,_hit]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
// only send to other players
|
||||
if(isPlayer _x and _x != player) then {
|
||||
PVDZE_send = [_x,"Bleed",[_unit,_wound,_hit]];
|
||||
publicVariableServer "PVDZE_send";
|
||||
};
|
||||
} forEach _inRange;
|
||||
|
||||
//Set Injured if not already
|
||||
|
||||
@@ -46,7 +46,7 @@ switch (_variable) do {
|
||||
_owner publicVariableClient "usecBreakLegs";
|
||||
};
|
||||
|
||||
case "PZ_BreakLegs": {
|
||||
case "Bleed": {
|
||||
usecBleed = _arraytosend;
|
||||
_owner publicVariableClient "usecBleed";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user