ULX

Author Topic: How do I change what counts as admin  (Read 160 times)

0 Members and 1 Guest are viewing this topic.

Offline Birdnest

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
How do I change what counts as admin
« on: January 03, 2020, 09:02:48 PM »
In the settings.lua there is admin vehicles, I was wondering if I can change the ranks that can spawn weapons and vehicles, for example I want Head Admin+ to be able to spawn in weapons and vehicles, how would i do that?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8053
  • Karma: 384
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How do I change what counts as admin
« Reply #1 on: January 04, 2020, 12:03:27 AM »
Settings.lua of what?
ULX has nothing to do with weapons, or vehicles.
Not recommended, but, you could have headadmin inherit from admin group.
That would make server see them as admins, along with all admin standard Source server commands though.
You could write your own lua to check for weapon and prop spawning, but, that's beyond the scope of this section of the forums, and, it's been asked many times.
Just search using the search box from forum front page.
« Last Edit: January 04, 2020, 12:07:30 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming