mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
move deleteVehicle to server
This commit is contained in:
@@ -149,15 +149,15 @@ if (_proceed && _success) then {
|
||||
|
||||
// Double check that object is not null
|
||||
if(!isNull(_obj)) then {
|
||||
|
||||
_ipos = getPosATL _obj;
|
||||
deleteVehicle _obj;
|
||||
|
||||
if(!_isWreck && !_isWreckBuilding) then {
|
||||
PVDZ_obj_Destroy = [_objectID,_objectUID,player,_obj,DZE_AuthKey];
|
||||
publicVariableServer "PVDZ_obj_Destroy";
|
||||
};
|
||||
|
||||
//deleteVehicle _obj;
|
||||
|
||||
if (_isWreckBuilding) then {
|
||||
PVDZ_send = [player,"RemoveObject",_ipos];
|
||||
publicVariableServer "PVDZ_send";
|
||||
|
||||
Reference in New Issue
Block a user