Role.Get
Shared
string Lyn.Player.Role.Get(Player target)FunctionDescription
Returns the highest role the specified player has.
Returns empty string if the player has no roles.
Params
Playertarget
Returns
The highest role the player has. Or empty string if none.
Example:
print(Lyn.Player.Role.Get(Entity(1)))
-- Output:
-- superadmin