This free script let your players open a menu and change their color theme
Preview video here
This script will evolve over time and do not hesitate to contribute
Well optimised (no jQuery usage or any other librairie for the UI, no client or server loops) → 0.00ms client and server side
All data is saved in the data folder
One minor suggestion I would add, is looking into KVS. This way when the player joins any server with this script, as long as the name of the resource doesn’t change, players can join any server that has this script, and their preferences will carry over. Red theme in 1 server? Red in the other.
@Smallo did something neat with his radio script that is basically bringing the neat feature introduced in GTA Online Cayo Perico heist, and made it so you can show or hide your favourite radio stations; any server with his script, and the settings carry over.
This is his script if you want to take a look and get some inspiration on KVS:
Plus you can also check the FiveM documentations.
Look forward to seeing how you can expand on this. Maybe you could even go as far as coloured player blips?
The KVS stores the players preferences without the need of some SQL nonsense by the way, so it would be purely standalone
I wanted to store the preferences on the client side but I had not found and I had not continued my research, with your information I notice that it is indeed possible. I’ll see what I can do tomorrow