This is a DV (Delete Vehicle) script for QBCore framework. The script includes exclusion zones where vehicles will not be deleted and provides two commands: /dvauto
for automatic deletion and a DV timer. The only dependency required for this script is qb-core
.
- Exclusion Zones: Define areas where vehicles should not be deleted.
- Commands:
/dvauto
: Automatically delete vehicles.dv timer
: Set a timer for automatic vehicle deletion.
-
Clone or download the repository and place it in the
resources
folder of your QBCore server.git clone https://github.com/Capestick/dvall/
-
Ensure
qb-core
is included in your server's resources. -
Add the script to your server configuration file (e.g.,
server.cfg
).ensure ky-dvscript
-
Open the
config.lua
file to configure exclusion zones and timer settings. -
Customize the exclusion zones and timer settings as per your needs.
-
/dvauto: Use this command to automatically delete vehicles.
/dvauto
-
dv timer: Set a timer for automatic vehicle deletion. The timer is configured in the
config.lua
file.
If you encounter any issues or have any questions, feel free to open an issue on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE file for more details.