Role.GetDisplay
Shared
string Lyn.Player.Role.GetDisplay(Player target)FunctionDescription
Returns the display name of the highest role the specified player has.
Returns NULL if the player has no roles.
Params
Playertarget
Returns
The display name of the highest role the player has. Or
NULLif none.
Example:
print(Lyn.Player.Role.GetDisplay(Entity(1)))
-- Output:
-- Super Admin