DMS_Exile/scripts/DMS_cleanup.sqf
Defent 74cc943093 Fixed some stuff. Major error on one part though.
line 30 in DMS_Init.sqf. This part doesnt start the mission select.
2015-08-25 21:52:07 +02:00

21 lines
713 B
Plaintext

fnc_DMS_cleanUp = {
_this enableSimulation false;
_this removeAllMPEventHandlers "mpkilled";
_this removeAllMPEventHandlers "mphit";
_this removeAllMPEventHandlers "mprespawn";
_this removeAllEventHandlers "FiredNear";
_this removeAllEventHandlers "HandleDamage";
_this removeAllEventHandlers "Killed";
_this removeAllEventHandlers "Fired";
_this removeAllEventHandlers "GetOut";
_this removeAllEventHandlers "GetIn";
_this removeAllEventHandlers "Local";
clearVehicleInit _this;
deleteVehicle _this;
deleteGroup (group _this);
_this = nil;
diag_log format ["DMS :: Markers, vehicles, AI and loot boxes and other items have been cleaned up!"];
};