Vehicle::destroy
mp.events.add('playerCommand', (player, cmd) => {
let arr = cmd.split(' ');
if (arr[0] == 'destroyrandomveh') {
let vehicles = mp.vehicles.toArray();
let randomValue = Math.floor(Math.random() * vehicles.length);
vehicles[randomValue].destroy();
}
});