ULX

Author Topic: Admin icon on scoreboard  (Read 2154 times)

0 Members and 1 Guest are viewing this topic.

Offline BasedRebel

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Admin icon on scoreboard
« on: February 03, 2014, 01:42:05 PM »
So this is probably really simple, but I would like to add the "wand" icon you see next to the super admin and admin usergroups when you press tab to other user groups aswell. I have a group called "admin-donator" that I want to be displayed as admin in the scoreboard. The gamemode is murder, if that even matters. Thanks!  :D

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin icon on scoreboard
« Reply #1 on: February 03, 2014, 07:34:55 PM »
You're question isn't exactly a Ulysses project "how do I/help" question, but for now, I'll leave as is.
I presume that whatever the scoreboard uses is Gmod's IsAdmin or IsSuperAdmin check.
Therefore, to get it to work without any code modification or making your own scoreboard (far beyond what this area of the forum is for), you'd need to have admin-donator inherit admin group.
Honestly though, superadmin and admin groups are top and 2nd most highest groups in Gmod. You may not want to do that.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming