this topic is a bit old and sorry for bumping this but i may have a way to solve this issue
using ClientPools you can scan for blacklisted vehicles and delete them (it doesnt specifically look for blown up ones but rather just the vehicle model in general)
local blacklistedvehicles = {
"rhino",
"deluxo2",
"khanjali",
"scarab",
"scarab2",
"scarab3",
"APC",
"thruster",
"voltic2",
"oppressor",
"oppressor2",
"vigilante",
"hunter",
"akula",
"buzzard",
"tampa3",
"ruiner3",
"ruiner2",
"dukes2",
"zr380",
"zr3802",
"zr3803",
"shafter5",
"shafter6",
"raptor",
"paragon2",
"lazer",
"kuruma2",
"jester2",
"hotring",
"buffalo3",
"blista3",
"scramjet",
"shotaro",
"deathbike",
"deathbike2",
"deathbike3",
"bati2",
"technical",
"technical2",
"technical3",
"rcbandito",
"nightshark",
"monster",
"monster2",
"monster3",
"monster4",
"monster5",
"menacer",
"marshall",
"insurgent",
"insurgent2",
"insurgent3",
"dune4",
"dune5",
"dune3",
"dune2",
"dune",
"caracara",
"bruiser3",
"bruiser2",
"bruiser",
"blazer5",
"dump",
"cutter",
"handler",
"trailerlarge",
"armytanker",
"armytrailer",
"armytrailer2",
"tractor",
"boxville5",
"tug",
"valkyrie",
"valkyrie2",
"savage",
"cargobob",
"cargobob4",
"cargobob3",
"buzzard",
"avenger",
"avenger2",
"blimp",
"blimp2",
"blimp3",
"bombushka",
"cargoplane",
"hydra",
"jet",
"mogul",
"strikeforce",
"titan",
"tula",
"volatol",
"pbus2",
"brickade",
"barrage",
"barracks",
"barracks2",
"barracks3",
"chernobog",
"halftrack",
"minitank",
"trailersmall2",
"terbyte",
"phantom2",
"cerberus",
"cerberus2",
"cerberus3",
"cablecar",
"freight",
"freightcar",
"freightcont1",
"freightcont2",
"freightgrain",
"tankercar",
"metrotrain",
"cog552",
"cognoscenti2",
"limo2",
"xls2",
"baller5",
"baller6",
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(4000)
local vehiclepool = GetGamePool("CVehicle")
for i=1, #vehiclepool do
for e=1, #blacklistedvehicles do
if IsVehicleModel(vehiclepool[i], GetHashKey(blacklistedvehicles[e])) and DoesEntityExist(vehiclepool[i]) then
NetworkRequestControlOfEntity(vehiclepool[i])
DeleteEntity(vehiclepool[i])
table.remove(vehiclepool, i)
else
end
end
end
Citizen.Wait(0)
end
end)