ULX

Author Topic: Unable to use Admin Commands in Console  (Read 2563 times)

0 Members and 1 Guest are viewing this topic.

Offline xLiaMz

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
Unable to use Admin Commands in Console
« on: October 26, 2013, 12:23:22 PM »
I have made groups inherit the rank of Admins as I don't want players to be able to use the commands on the tab menu, more so Admins were able to use commands on higher classes.

The inheritance goes like this (which works)

SuperAdmin - Default
HeadAdmin
Administrator
Admin - Default
Moderator
Operator
VIP
Trusted
User

------

My problem is players above the rank of Admin (Default) cannot use commands such as "rp_unarrest (name)" in the console. How can I give these groups permissions to do so, I guess its something in ULX or elsewhere, I'm posting it on here as It's to do with ranks.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable to use Admin Commands in Console
« Reply #1 on: October 26, 2013, 08:18:41 PM »
Liam, does rp_unarrest require admin access? If DarkRP uses "IsAdmin" lua command to check the player, then the group they are in would have to inherit or be the admin group.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Racer

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
Re: Unable to use Admin Commands in Console
« Reply #2 on: October 27, 2013, 06:59:38 PM »
Sorry for jumping in, But DarkRP uses a HasPriv function, which inside that function, it pulls information from FAdmin to see if they are staff, and if FAdmin is not on, it uses the IsAdmin function.