In Case a Server only wants one you can simply make a Config.
I have just one quick question, is this a script to fully remove the firetrucks, ambulances … or is it just to remove the parked ones? if you want to fully deactivate them i recommend usind this sort of code:

Citizen.CreateThread(function()
        while true do
            Citizen.Wait(0)
            -- These natives have to be called every frame.
            for i = 1, 12 do --you can change this to your needs (here is the list = https://docs.fivem.net/natives/?_0xDC0F817884CDD856)
                EnableDispatchService(i, false) --remove this if you want to have NPC Ambulance, Firefighters ...
Citizen.CreateThread(function()
  while true do
            Citizen.Wait(0)
            -- These natives have to be called every frame.
            for i = 1, 12 do --
                EnableDispatchService(i, false) --remove this if you want to have NPC Ambulance, Firefighters ...
            end
            SetVehicleDensityMultiplierThisFrame(1.0) --If you want just a few driving NPCs change the value (I recommend 0.5 ^^)
            SetPedDensityMultiplierThisFrame(1.0) --If you want just a few walking NPCs change the value (I recommend 0.5 ^^)
            SetRandomVehicleDensityMultiplierThisFrame(2.0) -- set random vehicles (car scenarios / cars driving off from a parking spot etc.) to 0
            SetParkedVehicleDensityMultiplierThisFrame(1.0) -- set random parked vehicles (parked car scenarios) to 0
            SetScenarioPedDensityMultiplierThisFrame(2.0, 1.0) -- set random npc/ai peds or scenario peds to 0
            SetGarbageTrucks(true) -- Stop garbage trucks from randomly spawning
            SetRandomBoats(true) -- Stop random boats from spawning in the water.
            SetCreateRandomCops(false) -- disable random cops walking/driving around.
            SetCreateRandomCopsNotOnScenarios(false) -- stop random cops (not in a scenario) from spawning.
            SetCreateRandomCopsOnScenarios(false) -- stop random cops (in a scenario) from spawning.
            SetPlayerWantedLevel(PlayerId(), 0, false)
            SetPlayerWantedLevelNow(PlayerId(), false)
            SetPlayerWantedLevelNoDrop(PlayerId(), 0, false)
            
            local x,y,z = table.unpack(GetEntityCoords(PlayerPedId()))
            ClearAreaOfVehicles(x, y, z, 1000, false, false, false, false, false)
            RemoveVehiclesFromGeneratorsInArea(x - 500.0, y - 500.0, z - 500.0, x + 500.0, y + 500.0, z + 500.0);
        end
    end)
end

like i said above you can add a config and let the others customize the script to their needs. If you need help dont mind to ask :wink:

Have a nice Day ^^