â†Ēī¸Exports

Exports can be requested at our discord! (discord.gg/crimem)

Client Side

Server Side

GetLevel
Example
RegisterCommand('getlevel', function(source)
    local level = exports['cm_yachtheist']:GetLevel(source)

    print(level)
end)

GetPreparation
Example
RegisterCommand('getpreparation', function(source)
    local preparation = exports['cm_yachtheist']:GetPreparation(source)

    print(preparation)
end)
AddXP
Example
RegisterCommand('addxp', function(source)
    exports['cm_yachtheist']:AddXP(source, 100, 'reason')
end)
RemoveXP
Example
RegisterCommand('removexp', function(source)
    exports['cm_yachtheist']:RemoveXP(source, 100)
end)

Last updated