Vehicle Cleanup
Overview
Clears unused vehicles from the server with an on-screen countdown so players have time to get back into their cars. Admins control it from a menu or chat commands, and it can run
Clears unused vehicles from the server with an on-screen countdown so players have time to get back into their cars. Admins control it from a menu or chat commands, and it can run automatically on a schedule.
Features
- Countdown box for every player, turns red in the final seconds
- Admin menu (ox_lib): start a countdown, stop it, or delete instantly
- Optional automatic run every X minutes
- Keeps occupied vehicles, and optionally locked vehicles, specific models or plate prefixes
- Late joiners see the running countdown
- Exports + events so other scripts can trigger or react to a cleanup
Requirements
| Resource | Required |
|---|---|
| ox_lib (opens in a new tab) | Yes (menu + input dialogs) |
| A framework (qb-core / qbx_core / es_extended) | Optional – runs standalone, admins are then decided by ACE |
| OneSync | Yes (server-side vehicle deletion) |
Last updated