Exclude inactive vehicles
Would you like inactive vehicles not to have to pay taxes?
No problem! On this page you can find out how to set it up.
1. Check Script Version
To use this function you need at least the following script version:
For ESX -> 1.2.5
For QBCore -> 1.2.6
2. Adjust database
First we need to add a new column in the database (based on your framework)
3. Set Config.ignoreVehiclesTaxPayment
The last thing you need to do is set the minimum number of days a car must be inactive before it is exempt from tax. In this example 14 Days.
This will deactivates it and does not check if vehicles is inactive!
Last updated
Was this helpful?