mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-23 16:40:50 +03:00
0.69 + 1.7.5.M1D15
This commit is contained in:
@@ -23,14 +23,7 @@ if (_dam < 1 ) then {
|
||||
_unit setVariable [_strH,_total,true];
|
||||
if ( !_needUpdate ) then {
|
||||
_unit setVariable ["needUpdate",true,true];
|
||||
dayzUpdateVehicle = [_unit,"damage"];
|
||||
if (isServer) then {
|
||||
if (allowConnection) then {
|
||||
dayzUpdateVehicle call server_updateObject;
|
||||
};
|
||||
} else {
|
||||
publicVariableServer "dayzUpdateVehicle";
|
||||
};
|
||||
["dayzUpdateVehicle",[_unit,"damage"]] call callRpcProcedure;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user