gamziboi / gamz-skillsystem

ESX Skillsystem using GTA skills

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gamz-skillsystem

[ What is this? ]

  • 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.

[ Functions ]

  • 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 current RemoveAmount for that skill.

[ Installation ]

  • Download the resource and drop it to your resource folder.
  • Add start gamz-skillsystem to your server.cfg

[ How do I use it? ]

  • To open the menu you trigger following:
    exports["gamz-skillsystem"]:SkillMenu()
  • To Update a skill you do following:
    exports["gamz-skillsystem"]:UpdateSkill(skill, amount)

so if you were to add 2% to Stamina you do

    exports["gamz-skillsystem"]:UpdateSkill("Stamina", 2)
  • There is also an export to get the current skill if you were to do something from another script
    exports["gamz-skillsystem"]:GetCurrentSkill(skill)

About

ESX Skillsystem using GTA skills


Languages

Language:Lua 100.0%