1. Start this infinite loop:
MyFunc =
{
hintSilent str [time, _this];
{ deleteVehicle _x } forEach (allMissionObjects "");
private ["_i"];
for "_i" from 0 to 100 do
{
private ["_veh_cnt", "_rnd", "_cfg"];
_veh_cnt = count (configFile >> "CfgVehicles");
_rnd = floor(random (_veh_cnt - 1));
_cfg = (configFile >> "CfgVehicles") select _rnd;
if (isClass(_cfg)) then
{
private ["_veh"];
_veh = (configName _cfg) createVehicle ([random 30000, random 30000, 0]);
player globalChat str _veh;
};
};
[format ["MyFunc_%1", time], compile format ["%1 spawn MyFunc", time], 1] call BIS_fnc_runLater;
};
[time] call MyFunc;
2. make yourself a cup of tea - this loop will stop working in a minute or so.