[RELEASE] [FREE] [UNAVAILABLE] ESX Vehicle Taxes

Hey guys!
I searched for something like this, but didn’t find anything. So I created this one with the help of Luiis from myScripts. Thanks to them!

INFORMATION
I will not provide any more support to this, through I don’t have much time anymore.

Support

Discord

Features

  • You can change the tax for one vehicle in the config. It will be multiplied by the amount of vehicles a user has.
  • You can change the languages in the config
  • You can change the intervall in which the tax should be taken
  • You can add/edit translations in the config aswell

Requirements

  • ESX

Optionals

  • ESX Legacy (You can activate this in the config)

Installation

  1. Download the script from Github or the direct download
  2. Drag and Drop the folder into your resources folder
  3. Add start taxes into your server.cfg
  4. Configure the script for your use
  5. Have fun!

Currently the script is available in three languages:

taxes_de
German

taxes_en
English

taxes_fr
French

Coming Soon

  • More translations
  • QB Version

Downloads

Github Release

4 Likes

There’s an error in there

RegisterNetEvent(‘taxes:notify’)
AddEventHandler(‘taxes:notify’, function(icon, msg, title, subtitle)

showPictureNotification(icon, msg, title, **sobtitle**)

end)

1 Like

Everything works fine for me, but I can look over it.

I guess this was done doing the “Phoneservice” thing tutorial from Louis?

Cool and thanks for sharing this to the community.

Some Tips for the Future to learn on:
Always think compact but also that it can be understood from others, an Example:
The Client has a unused variable: ESX you should remove that including the thread since you don’t use them.

You should also increase the Wait Time on the Server side, removing money and running the MySQL Query every 12 Seconds is quite fast and not to forget: you do that for every player.
Which means for a Server with 40 Players you are running: 40 Queries, 80 ESX Functions and Triggering 40 Clientevents every 12 Seconds.

oh and you should upgrade from mysql-async to oxmysql if you have the time and nerve for it :wink:

1 Like

Hey, thanks for the feedback!
This was just the first version, more to test as anythign else. I worked since yesterday now for a better version and I am going to update it in a few minutes.

1 Like

I created a Pull Request with some changes on github :slight_smile:

Thank you! I updated that with your pull request rn, thanks :smiley:

Looks awesome

Thanks :smiley:

How to pay automatically

Hey, script it working but getting this error from time to time:

SCRIPT ERROR: @esx-vehicletaxes/server/main.lua:43: invalid vector field: identifier

Download is deleted, can you post it again please?

3 Likes

Yes, I agree, please re-upload.

1 Like