Fixed a problem with the cleanup

This commit is contained in:
Defent 2015-08-27 23:03:11 +02:00
parent 9e21149f24
commit 6650113e98
12 changed files with 13 additions and 12 deletions

View File

@ -35,7 +35,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -41,7 +41,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -40,7 +40,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -39,7 +39,7 @@ uiSleep 1;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;

View File

@ -41,7 +41,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -43,7 +43,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -41,7 +41,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;

View File

@ -41,7 +41,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -42,7 +42,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -40,7 +40,7 @@ uiSleep 1;
["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast;
// Run Cleanup // Run Cleanup
[_pos] call DMS_CleanUp; [_pos,_crate] call DMS_CleanUp;
uiSleep 150; uiSleep 150;

View File

@ -1,5 +1,6 @@
private ["_pos"]; private ["_pos","_crate"];
_pos = _this select 0; _pos = _this select 0;
_crate = _this select 0;
deleteMarker "DMS_MainMarker"; deleteMarker "DMS_MainMarker";
deleteMarker "DMS_MainDot"; deleteMarker "DMS_MainDot";
uiSleep DMS_CleanUpTimer; uiSleep DMS_CleanUpTimer;
@ -16,7 +17,7 @@ uiSleep DMS_CleanUpTimer;
_x removeAllEventHandlers "GetIn"; _x removeAllEventHandlers "GetIn";
_x removeAllEventHandlers "Local"; _x removeAllEventHandlers "Local";
// clearVehicleInit _this; // clearVehicleInit _this;
deleteVehicle _x; deleteVehicle _crate;
deleteGroup (group _x); deleteGroup (group _x);
_x = nil; _x = nil;

Binary file not shown.