Author Topic: Invisible On Scoreboard  (Read 2199 times)

0 Members and 1 Guest are viewing this topic.

Offline Gmods

  • Newbie
  • *
  • Posts: 43
  • Karma: 2
Invisible On Scoreboard
« on: February 02, 2010, 12:02:15 PM »
Would it be possible to create an addon that allows Admins to toggle which groups are displayed on the scoreboard? For example stop Super Admins from showing up when ulx hide GROUP is entered. And then they show again when ulx show GROUP is entered.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Invisible On Scoreboard
« Reply #1 on: February 02, 2010, 03:21:27 PM »
In ULib or ULX? No; Not without breaking every other script that relies on Garry's mod Lua hooks "IsAdmin" or "IsSuperadmin"
All scoreboards rely on that to show the access.

Though someone could write a custom scoreboard that doesn't show groups, and add a toggle that could enable showing them or not.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming