I wanted to release this since I don't play FiveM anymore. This is quite done but needs to be better implemented. Since this project is discontinued I won't provide any support.
- MySQL-database for storing the skills data
- Using natives for applying stamina, strength, driving and shooting(not implemented)
- NUI-menu
Remember that all of the functions that is "TriggerServerEvent" is on client-side.
- Add "TriggerServerEvent('stadus_skills:addStamina', GetPlayerServerId(PlayerId()), (math.random() + 0))" to esx_gym where you want people to gain Stamina.
- Add "TriggerServerEvent('stadus_skills:addStrength', GetPlayerServerId(PlayerId()), (math.random() + 0))" to esx_gym where you want people to gain Strength.
- Add "TriggerServerEvent('stadus_skills:addFishing', GetPlayerServerId(PlayerId()), (math.random() + 0))" to your favorite fishing-mod. (I had my own fishing system so some tweaking might be required)
- Add "TriggerServerEvent('stadus_skills:addDrugs', GetPlayerServerId(PlayerId()), (math.random() + 0))" to esx_drugs where you want people to gain drug-skill.
- MySQL-database
- some knowledge of LUA
- Essentialmode and ES Extended
When driving, after a while you will gain driving-skill. Press button "Page Down" to open the menu. If wanted you can change the button by going into client.lua and change the variable: "openKey".
- Sometimes the menu won't open up?