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
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.