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