Module cl_levels

Level functions

Functions

GetLevel (category) GetLevel function.
GetXP (category) GetXP function.
GetPrestige (category) GetPrestige function.


Functions

GetLevel (category)
GetLevel function. This function returns the player's level.

Parameters:

  • category The category to get the level from. string

Returns:

    number

Usage:

    local level = exports.jones_util:GetLevel("farming")
GetXP (category)
GetXP function. This function returns the player's xp.

Parameters:

  • category The category to get the xp from. string

Returns:

    number

Usage:

    local xp = exports.jones_util:GetXP("farming")
GetPrestige (category)
GetPrestige function. This function returns the player's prestige.

Parameters:

  • category The category to get the prestige from. string

Returns:

    number

Usage:

    local prestige = exports.jones_util:GetPrestige("farming")
generated by LDoc 1.5.0 Last updated 2024-05-13 19:05:24