mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
player_build.sqf Enhancements and PV renames
This commit is contained in:
@@ -9,12 +9,12 @@ _hitPoints = _unit call vehicle_getHitpoints;
|
||||
_unit setVariable [_selection, 1, true];
|
||||
} forEach _hitPoints;
|
||||
|
||||
//["dayzUpdateVehicle",[_unit, "damage"]] call callRpcProcedure;
|
||||
//["PVDZE_veh_Update",[_unit, "damage"]] call callRpcProcedure;
|
||||
if (isServer) then {
|
||||
[_unit, "killed"] call server_updateObject;
|
||||
} else {
|
||||
dayzUpdateVehicle = [_unit, "killed"];
|
||||
publicVariableServer "dayzUpdateVehicle";
|
||||
PVDZE_veh_Update = [_unit, "killed"];
|
||||
publicVariableServer "PVDZE_veh_Update";
|
||||
};
|
||||
|
||||
_unit removeAllEventHandlers "HandleDamage";
|
||||
|
||||
Reference in New Issue
Block a user