DO NOT USE! Deprecated Version moved to a new repo so issues can be opened. Most up to date version can be found here
- A skillsystem based on GTA's existing skills.
- Very easy to configure, just check the config.
- You can for example add this to your gym script to get stronger.
- Skills displays in ESC -> Stats -> Skills
- All the skills that is added by default have a unique "function", for example if you run your stamina will increase by the time.
- Depending on the skill level your character will perform the skill better, for example if your stamina is high you can run longer without getting exhausted.
- Every
Config.UpdateFrequency
(seconds) it will remove the currentRemoveAmount
for that skill.
- Download the resource and drop it to your resource folder.
- Add
start qb-skillz
to your server.cfg
- To open the menu you trigger following:
exports["qb-skillz"]:SkillMenu()
- To Update a skill you do following:
exports["qb-skillz"]:UpdateSkill(skill, amount)
so if you were to add 2% to Stamina you do
exports["qb-skillz"]:UpdateSkill("Stamina", 2)
- There is also an export to get the current skill if you were to do something from another script
exports["qb-skillz"]:GetCurrentSkill(skill)