Server Functions

These functions are server sided.

RegisterSkill

Registers a Skill, this must be called after every restart. Example Usage:

stevo_lib.RegisterSkill({
     name = 'Hacking', 
     levels = {
         ['Noob'] = 0, 
         ['Geek'] = 100, 
         ['Techie'] = 200, 
         ['Expert'] = 300
     }
})

UpdatePlayerSkills

Registers a Skill, this must be called after every restart. Example Usage:

-- Adding 10 hacking experience to source.
stevo_lib.UpdatePlayerSkills(source, 'Hacking', 10)

LoadPlayerSkill

Registers a Skill, this must be called after every restart. Example Usage:

local hackingSkill = stevo_lib.LoadPlayerSkill(source, 'Hacking')

Last updated