🚗 OGDev-DVA (Delete All Vehicles) is a lightweight and efficient FiveM script that allows authorized users to remove all vehicles from the game world with a single command. This script is powered by OxLib and uses ACE permissions to restrict access.
✅ Instantly delete all vehicles – Removes every vehicle from the map in one command.
✅ ACE Permissions support – Ensures only authorized players can use it.
✅ Optimized performance – Uses efficient methods to prevent server lag.
✅ Lightweight & simple – No unnecessary features, just a quick cleanup tool.
✅ OxLib integration – Ensures smooth and reliable execution.
- Download the latest version of OGDev-DVA
- Extract the folder and rename it to
OGDev-DVA. - Move the folder into your FiveM resources directory (
server-data/resources/).
Before running the script, ensure that OxLib is installed and running.
Open your server.cfg and add the following lines:
ensure ox_lib
ensure OGDev-DVATo restrict the command to specific staff or roles, you need to configure ACE permissions in your server.cfg.
Example: Grant permission to the staff group:
add_ace group.staff cleanup allow- Replace
"staff"with the appropriate ACE group name. - This ensures only users in the assigned group can execute the delete command.
| Command | Description |
|---|---|
/delallveh |
Deletes all vehicles on the map (requires permission). |
⚠ Note: This action cannot be undone, so use it carefully!
✅ Make sure OxLib is installed and running.
✅ Check your ACE permissions (ensure you have the "cleanup" permission).
✅ Restart the server and try again.
✅ Verify that the correct ACE group is assigned in server.cfg.
✅ Check for typos in your add_ace command.
✅ Run refresh in the server console after making changes.
👤 Original Author: Whit3XLightning
🔗 GitHub Repo: Original DVA Script
If you encounter any issues or have feature requests, feel free to open an issue or submit a pull request on GitHub.