Use this to create a new reputation for a player.
exports['m-Reputation']:CreateReputation(citizenID, reputationName, reputationLabel, experience, level)
exports['m-Reputation']:CreateReputation("WRN57371", "carwash", "Carwash", 0, 1)
Use this to add experience points to a player's reputation.
exports['m-Reputation']:AddReputationXP(citizenID, reputationName, experience)
exports['m-Reputation']:AddReputationXP("WRN57371", "carwash", 5)
Use this to get the current experience points of a player's reputation.
exports['m-Reputation']:GetUserReputationXP(citizenID, reputationName, cb)
exports['m-Reputation']:GetUserReputationXP("WRN57371", "carwash", function(xp)
if xp then
print('Carwash XP: ' .. xp)
else
print('Reputation not found.')
end
end)