• Print

Author Topic: Access all not working  (Read 4412 times)

0 Members and 1 Guest are viewing this topic.

Offline Unknown Gamer

  • Jr. Member
  • **
  • Posts: 79
  • Karma: -2
    • TrueKnife TTT
Access all not working
« on: July 05, 2015, 01:03:13 pm »
Hi,

So I refined my my server hopper command but for some reason, when I set it for all top access, I need to manually add the permission for someone to use the command. Any help?
Code: Lua
  1. CATEGORY_NAME = "TrueKnife TTT"
  2.  
  3. function ulx.hopper( ply )
  4.         ply:SendLua([[RunConsoleCommand("serverhopper")]])
  5. end
  6. local hopper = ulx.command( CATEGORY_NAME, "ulx hopper", ulx.hopper, "!hopper" )
  7. hopper:defaultAccess( ULib.ACCESS_ALL )
  8. hopper:help( "Opens the hopper menu. You can also type !servers or !hop" )
Newb Coder. Soon to get better

Offline Unknown Gamer

  • Jr. Member
  • **
  • Posts: 79
  • Karma: -2
    • TrueKnife TTT
Re: Access all not working
« Reply #1 on: July 09, 2015, 06:59:15 am »
*bump*
Newb Coder. Soon to get better

  • Print