Stevo Scripts
  • Stevo Scripts
  • stevo lib
    • 📚stevo_lib
      • Functions
        • Client Functions
        • Server Functions
      • Businesses
        • Logs
        • Server Functions
      • Skills
        • Server Functions
  • PAID SCRIPTS
    • 🔫stevo_claiming
      • Installation
      • Dependencies
    • 🚗stevo_dmv
      • Installation
        • Items
      • Dependencies
      • Exports
    • 👮stevo_police
      • Installation
      • Exports
      • Dependencies
    • 🔓stevo_prison
      • Installation
        • Items
      • Dependencies
      • Config
      • Exports
    • 💰stevo_supporter
    • 🚠stevo_vendors
      • Installation
      • Configuration
      • Dependencies
    • 🏢stevo_dealerships
      • Installation
      • Dependencies
      • Adding Vehicles
  • FREE SCRIPTS
    • 📦stevo_cayocrates
      • Installation
      • Dependencies
    • 🪓stevo_chopshop
      • Installation
      • Dependencies
    • 🛂stevo_citizenship
      • Installation
      • Dependencies
    • 🌱stevo_drugsell
      • Installation
      • Dependencies
    • 📋stevo_feedback
      • Installation
      • Dependencies
    • 🍎stevo_fruitpicking
      • Installation
        • Items
      • Dependencies
    • 👮‍♀️stevo_policebadge
      • Installation
        • Items
      • Dependencies
    • 🛠️stevo_portablecrafting
      • Installation
        • Items
      • Dependencies
    • 🧼stevo_portablemoneywash
      • Installation
        • Items
      • Dependencies
    • 🚔stevo_jobgarages
      • Installation
      • Dependencies
    • 👻stevo_trickortreat
      • Installation
        • Items
      • Dependencies
    • 🍇stevo_advancedvineyard
      • Installation
        • Items
      • Dependencies
    • 🚨stevo_reports
      • Installation
      • Dependencies
    • 🧹stevo_communityservice
      • Installation
      • Dependencies
Powered by GitBook
On this page
  • RegisterSkill
  • UpdatePlayerSkills
  • LoadPlayerSkill
  1. stevo lib
  2. stevo_lib
  3. Skills

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')
PreviousSkillsNextstevo_claiming

Last updated 8 months ago

📚