mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 23:20:50 +03:00
move deleteVehicle to server
This commit is contained in:
@@ -72,9 +72,10 @@ for "_i" from 1 to 20 do {
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,player,_cursorTarget,DZE_AuthKey];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
diag_log [diag_ticktime, __FILE__, "Networked object, request to destroy", PVDZ_obj_Destroy];
|
||||
};
|
||||
// remove object
|
||||
deleteVehicle _cursorTarget;
|
||||
} else {
|
||||
// remove object
|
||||
deleteVehicle _cursorTarget;
|
||||
};
|
||||
_cursorTarget = objNull;
|
||||
|
||||
["Working",0,[20,40,15,0]] call dayz_NutritionSystem;
|
||||
|
||||
Reference in New Issue
Block a user