move deleteVehicle to server

This commit is contained in:
icomrade
2017-09-26 16:18:47 -04:00
parent 02ff9be46d
commit e079381931
18 changed files with 34 additions and 27 deletions

View File

@@ -81,8 +81,9 @@ if (_isOk) then {
};
PVDZ_obj_Destroy = [(_holder getVariable["ObjectID","0"]),(_holder getVariable["ObjectUID","0"]),player,_holder,DZE_AuthKey];
publicVariableServer "PVDZ_obj_Destroy";
} else {
deleteVehicle _holder;
};
deleteVehicle _holder;
} else {
if (!_isOk) exitWith {
_holder setVariable["claimed",0,true];