I decided to redesign and modify the esx_slots script to my own desire
so i will add more features in future updates and keep it updated
any ideas or change ideas can be pushed in the github
UPDATE:
added a new version now with paytable
now works on all resolutions
removed the lua script if you want to use this REDESIGN you will need the original Resource
To anyone planning to use this - Albeit that this is a nice interface, this resource has a (unfortunately common) MAJOR VULNERABILITY!!!
By not keeping track of chips server side, but instead just accepting any input by the client, a malicious client (i.e. cheater using a cheat menu) can execute the following event and get as many chips as they want)
This vulnerability is the same as the famous “esx_truckerjob” vulnerability used by cheat menus. If you care about the security of your resources and therefore experience of your players, I highly suggest to fix this vulnerability or not use this for the time being.
Remember, never trust the client!
I will temporarily unlist this resource until OP fixes this as this will have major implications for users.
tested some things now with C enginge and because i use an item not money its not working to manipulate it its crashing the client from the player and he loos all items thats in the slots bank
tested it both ways with money and item
money was working to cheat item = crash