ULX

Author Topic: Temporary Name Change? - Need Command Help  (Read 9805 times)

0 Members and 1 Guest are viewing this topic.

Offline Zoeo

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
Temporary Name Change? - Need Command Help
« on: April 07, 2015, 10:23:16 AM »
I have made a code that will allow a player to hide their admin/moderator status by placing them into a hidemod group (If using MySQL it can be modified to set them into a user/member group and upon rejoin their rank is given back) and then be able to use the commands in that group, unhide being one of them.  The code it'self works like a charm, but the one problem I am having is changing that persons name on the scoreboard temporarily without having to change it on Steam.

If anyone knows how to change a name on scoreboard it'd be amazing!

(Note: Not on DarkRP. I need it on TTT)

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Temporary Name Change? - Need Command Help
« Reply #1 on: April 07, 2015, 10:31:10 AM »
Unless you modify the TTT scoreboard to override the normal Garry's Mod display name (which is via Steam, as you said), then this isn't possible.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Zoeo

  • Newbie
  • *
  • Posts: 15
  • Karma: 1
Re: Temporary Name Change? - Need Command Help
« Reply #2 on: April 07, 2015, 10:40:18 AM »
Unless you modify the TTT scoreboard to override the normal Garry's Mod display name (which is via Steam, as you said), then this isn't possible.
If that is the case, would it be possible to remove the person's entire row from the scoreboard via ulx command and then just rejoin to add that row back?

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: Temporary Name Change? - Need Command Help
« Reply #3 on: April 07, 2015, 10:55:06 AM »
I don't think that's possible without modifying it either.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given