burnov 10 Posted May 19, 2018 private ["_unitList","_unitType","_N0Crew"]; if (_unitType isKindOf "LandVehicle") then { _N0Crew = count crew _x; if (_N0Crew == 0) then { deleteVehicle _x;};} forEach nearestObjects [getpos player,14000] { deleteVehicle _x; } forEach allDead; { deleteVehicle _x; } forEach nearestObjects [getpos player,["WeaponHolder","GroundWeaponHolder","WeaponHolderSimulated","SmokeShell","CraterLong_small","CraterLong","#dynamicsound","#destructioneffects","#track","#particlesource"],14000] hint format ["Server cleanup"]; // Message Boy in the right upper corner I haven't played Arma 3 since the APEX update so I'm not sure if that might've broken it, but this script used to be activated by a radio trigger manually. I also used this below as a backup and executed it from the debug console which also doesn't seem to work anymore. Any help regarding these issues would be greatly appreciated. cleanup = player nearEntities ["landvehicle",14000]; { if ({alive _x} count crew _x < 1) then { cleanUp set [_forEachIndex,objNull]; { deleteVehicle _x } count (crew _x); deleteVehicle _x }; } forEach cleanUp; cleanup = cleanup - [objNull]; Share this post Link to post Share on other sites