Exports (Client Side)

Client-sided exports

GetReputation

Returns the players reputation for the given job.

-- Params:
-- @job, string: The job you want to get the reputation for.
exports["bd-lvlsystem"]:GetReputation(job)

-- Example:
local rep = exports["bd-lvlsystem"]:GetReputation("sanitation")

GetPlayerLevel

Returns the players level for the given job.

-- Params:
-- @job, string: The job you want to get the reputation for.
exports["bd-lvlsystem"]:GetPlayerLevel(job)

-- Example:
local level = exports["bd-lvlsystem"]:GetPlayerLevel("sanitation")

GetPlayerReputationAndLevel

Returns the player reputation and level :D

-- Params:
-- @job, string: The job you want to get the reputation for.
exports["bd-lvlsystem"]:GetPlayerReputationAndLevel(job)

-- Example:
local rep, level = exports["bd-lvlsystem"]:GetPlayerReputationAndLevel("sanitation")

Last updated