Functions
Client

Client Exports

getSkillLevel

Gets the current level of a player's skill.

exports.evolent_skills:getSkillLevel(skill)
  • skill: string

Example:

local skillLevel = exports.evolent_skills:getSkillLevel('driving')
if skillLevel > 10 then
    print('Player is above level 10!')
end

getSkillXp

Gets the current XP of a player's skill.

exports.evolent_skills:getSkillXp(skill)
  • skill: string

Example:

local skillXp = exports.evolent_skills:getSkillXp('shooting')
print(skillXp) -- 182

getAllSkills

Gets all skills and their levels for a player.

exports.evolent_skills:getAllSkills()

Example:

local skills = exports.evolent_skills:getAllSkills()
for skillName, skillData in pairs(skills) do
    print(skillName, skillData.level, skillData.xp)
end