This commit is contained in:
[VB]AWOL
2014-01-29 14:21:40 -06:00
parent 589b366ce3
commit cbcc5a63f6
2 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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";
}; };