Hello everyone, I remember seeing a way to get the players team name in DarkRP.
Right now im using this method:
function ENT:Use( activator, caller) if team.GetName(activator:Team()) == "Mayor" then
But i’m pretty sure there was a way that returns something like TEAM_MAYOR or something similar.
Someone mind telling me the proper way to get the players job in DarkRP? (If i didnt do it correctly)