DMS_Exile/@ExileServer/addons/a3_dms/scripts/DMS_cleanup.sqf

20 lines
700 B
Plaintext
Raw Normal View History

2015-08-26 19:25:45 +00:00
2015-08-26 13:12:14 +00:00
_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";
2015-08-26 19:25:45 +00:00
// clearVehicleInit _this;
2015-08-26 13:12:14 +00:00
deleteVehicle _this;
deleteGroup (group _this);
_this = nil;
2015-08-26 19:25:45 +00:00
diag_log format ["DMS :: Markers, vehicles, AI and loot boxes and other items have been cleaned up!"];
2015-08-26 13:12:14 +00:00