JL Store
  • jl_illegalphone
    • Config
    • Exports & Events
      • Server Exports
  • jl_parkingticketjob
    • Installation
    • Config
  • jl_breathalyzer
    • Exports & Events
      • Exports
      • Events
    • Config
  • jl_spectatemenu
    • config.lua
    • config.json
  • jl_dutypanel
    • config.lua
    • cl_main.lua
  • jl_phonetracking
    • config.lua
  • jl_lib
    • Export
    • Server Exports
    • Client Exports
    • Callbacks
  • jl_reports
    • Installation
Powered by GitBook
On this page
  • GetLevel
  • GetXP
  • GetAllLevels
  • GetAllXP
  • GetTotalXP
  • UpdateLevel
  • UpdateXP
  1. jl_illegalphone
  2. Exports & Events

Server Exports

GetLevel

Returns the level of a certain skill.

local level = exports["jl_illegalphone"]:GetLevel(source, skill)

GetXP

Returns the xp of a certain skill.

local xp = exports["jl_illegalphone"]:GetXP(source, skill)

GetAllLevels

Returns a table that contains all skills with the levels.

local allLevels = exports["jl_illegalphone"]:GetAllLevels(source)

GetAllXP

Returns a table that conatins all skills with the XP.

local allXP = exports["jl_illegalphone"]:GetAllXP(source)

GetTotalXP

Returns the total amount of XP that a player has combined.

local totalXP = exports["jl_illegalphone"]:GetTotaltXP(source)

UpdateLevel

Updates a players level.

exports["jl_illegalphone"]:UpdateLevel(source, skill, newLevel)

UpdateXP

Updates a players XP

exports["jl_illegalphone"]:UpdateXP(source, skill, newLevel)
PreviousExports & EventsNextjl_parkingticketjob

Last updated 8 months ago