ULX

Author Topic: Making Utime admin only.  (Read 2217 times)

0 Members and 1 Guest are viewing this topic.

Offline SuperBobbis

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Making Utime admin only.
« on: January 23, 2016, 11:44:04 PM »
I run a Murder server and utime is a double edged sword. While we are alive it helps instead of having to go into admin panel every time to see who is who. But it also means people can target because of the ability to see who is who as well as makes disguising pointless as it means you can call out steam name instead.

I've looked around a little bit before, I found something regarding this but it didn't help me understand what I needed to do. Can someone here help me learn what code I need to add/remove?
« Last Edit: January 24, 2016, 12:14:46 AM by SuperBobbis »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Making Utime admin only.
« Reply #1 on: January 24, 2016, 05:16:49 AM »
I have no problem adding this directly to UTime. Please run the following in your server console while running murder and tell me what it outputs to make sure I get the right name:

Code: [Select]
lua_run print(engine.ActiveGamemode())
Experiencing God's grace one day at a time.

Offline SuperBobbis

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Making Utime admin only.
« Reply #2 on: January 24, 2016, 11:51:13 AM »
Will do when I get home, thanks for this.

Edit: Going to specify before anything happens, I'm talking about the lower part where it shows the persons name of who you are looking at. I wasn't very descriptive last night. If that's possible that would be amazing, thanks.
« Last Edit: January 24, 2016, 02:15:09 PM by SuperBobbis »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Making Utime admin only.
« Reply #3 on: January 24, 2016, 03:07:52 PM »
Yes; I've already pushed the change to the UTime repository, just need to verify the name is correct.
Experiencing God's grace one day at a time.

Offline SuperBobbis

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Making Utime admin only.
« Reply #4 on: January 24, 2016, 04:06:35 PM »
 print(engine.ActiveGamemode())...
murder


Here's what it says when I put it in the console.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Making Utime admin only.
« Reply #5 on: January 24, 2016, 05:16:23 PM »
Okay, my assumption was correct. You can download UTime from GitHub -- https://github.com/TeamUlysses/utime -- and it should work as described.
Experiencing God's grace one day at a time.

Offline SuperBobbis

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Making Utime admin only.
« Reply #6 on: January 24, 2016, 07:57:52 PM »
Thank you so much!