[STANDALONE] Auto Vehicles Deleter

A script by ZDP-Scripts

No reviews yet.
[STANDALONE] Auto Vehicles Deleter main image

Full Description

:desktop_computer: Description

ZDP-AUTOVEHICLESDELETER is a script that’s all about optimizing your server. It clears out all those abandoned, empty, or wrecked vehicles off the map. You get to pick areas where the script won’t touch anything, specific vehicle types, individual vehicles, whether you want to zap occupied vehicles, NPCs, map objects, and, the cherry on top? You can fully customize the notification straight from the settings, easy peasy.

Boost your server’s performance with just one simple move.

:star2: Features

  • Standalone Compatibility: The script is designed to work seamlessly on any server, including QB, ESX, VRP, or any other server framework, ensuring broad compatibility.
  • Quick and Easy Configuration: Dive into the config.lua to tweak any setting you want. Plus, if you get lost, we got you covered with our guide.
  • Ignore Zones: Pick the radius and area where you don’t want the script to mess with vehicles, objects, or NPCs (you can set these separately).
  • Blacklist: Jot down any vehicles or vehicle classes you want the script to leave alone.
  • Timer Settings: Control how long it takes before things get deleted, when you want the warning notification to pop up (or if you even want it at all), and when you want to give players the heads up that time’s almost up.
  • Notification Settings: Decide if you want to show the notification and, if you do, its colors, text, and whether you want to display a countdown, a timer bar, or nothing at all.
  • Color customization: Pick your notification and text colors.
  • Text customization: Choose what you want the notification to say when it pops up, when it warns players that time’s running out, and when vehicles have been cleared.
  • Admin Command: Admins can use a command to clear vehicles whenever they feel like it, no waiting around for the timer or notifying players.
  • Extra Features: You decide if you want to remove vehicles, NPCs, or objects.

:ring_buoy: Support

We’ve got your back if you encounter any issues with our script.

:man_technologist: About us

Our development team members collectively have over 10 years of experience. We have experts in Front, Back, and Full Stack development.

:movie_camera: Preview

:arrow_right: Purchase link:

:top: Other scripts:

:file_folder: Config file:

Config = {}

Config.Command = "delveh" -- Command to delete vehicles
Config.restricCommand = true -- If true, only admins can use the command

Config.Time = 30 -- [ In seconds ] Time to delete the vehicles
Config.NotificationsTime = 20 -- [ In seconds ] Remaining time in seconds for the countdown to appear on screen
Config.AlertNotification = 10 -- [ In seconds ] Remaining time in seconds for an alert in the notification

Config.BusyVehicles = false -- If true, vehicles with a driver will also be deleted
Config.Peds = false -- If true, NPCs will also be deleted
Config.Objects = false -- If true, objects will also be deleted

-- [ NOTIFICATION SETTINGS ] --
Config.Notifications = true -- If true, a notification will be sent to all players

Config.CommandHideNotification = "hidedelveh" -- Command that players will use to hide the notification (this doesn't stop the deletion)

Config.NotificationTitle = "SYSTEM"
Config.NotificationsText = "Vehicle deletion" -- Text to display on screen
Config.NotificationsText2 = "Last seconds" -- Text to display on screen
Config.NotificationsTextDelete = "Deleted vehicles" -- Text to display on screen
Config.NotificationsPositionX = "right" -- Notification position
Config.NotificationsPositionY = 0 -- Y position of the notification [45 to -45], 0 is the center.
Config.NotificationOpacity = 1 -- Notification opacity
Config.NotificationsColorBackground = "#202020d5" -- Notification background color
Config.NotificationsColorText = "rgb(255,255,255)" -- Notification text color

Config.HideCounter = false
Config.HideCounterBar = false

-- [ ZONE SETTINGS ] --
Config.IgnoreZones = { -- Vehicles that will not be deleted in these custom zones
	-- { Coords = vector3(0.0, 0.0, 0.0), Radius = 100.0 },
	-- { Coords = vector3(0.0, 0.0, 0.0), Radius = 100.0 },
}

Config.IgnoreZonesPeds = { -- NPC's that will not be deleted in these custom zones
	-- { Coords = vector3(0.0, 0.0, 0.0), Radius = 100.0 },
	-- { Coords = vector3(0.0, 0.0, 0.0), Radius = 100.0 },
}

Config.IgnoreZonesObjects = { -- Props that will not be deleted in these custom zones
	-- { Coords = vector3(0.0, 0.0, 0.0), Radius = 100.0 },
	-- { Coords = vector3(0.0, 0.0, 0.0), Radius = 100.0 },
}

-- [ VEHICLE SETTINGS ] --
Config.BlackListVehicles = { -- Vehicles that will not be deleted
    "zentorno",
    "adder",
    --"akuma"
}

-- [ VEHICLE CLASS SETTINGS ] --
Config.BlackListClass={ -- Vehicle classes --> True will be deleted - False will not be deleted
    [0] = true, -- Compacts
    [1] = true, -- Sedans
    [2] = true, -- SUVs
    [3] = true, -- Coupes
    [4] = true, -- Muscle
    [5] = true, -- Sports Classics
    [6] = true, -- Sports
    [7] = true, -- Super
    [8] = true, -- Motorcycles
    [9] = true, -- Off-road
    [10] = true, -- Industrial
    [11] = true, -- Utility
    [12] = true, -- Vans
    [13] = true, -- Cycles
    [14] = true, -- Boats
    [15] = true, -- Helicopters
    [16] = true, -- Planes
    [17] = true, -- Service
    [18] = true, -- Emergency
    [19] = true, -- Military
    [20] = true, -- Commercial
    [21] = true, -- Trains
    [22] = true, -- Open Wheel
}

Code is accessible No
Subscription-based No
Lines (approximately) 200
Requirements None
Support Yes