Moved to a new organization now under Burn One Studios new repo can be found here
For more support or to see more of my resources you can join my discord
- 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.
- Import the SQL file to your servers DB
- Add
start qb-skillz
to your server.cfg
- 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)
- An export to check to see if a skill is equal or greater than a value
exports["qb-skillz"]:CheckSkill(skill, val)
so if you want to check if your lung capacity is 50 or over you would do
exports["qb-skillz"]:CheckSkill("Lung Capacity", 50, function(hasskill)
if hasskill then
print("Lung Capacity 50 or over")
else
print("Lung Capacity lover than 50")
end
end)
- There is also an export to get the current skill if you were to do something from another script
exports["qb-skillz"]:GetCurrentSkill(skill)