• Print

Author Topic: Ulx cmd not categorizing  (Read 4859 times)

0 Members and 1 Guest are viewing this topic.

Offline Vaporouscreeper

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • TheBox steam group
Ulx cmd not categorizing
« on: June 03, 2018, 08:48:37 am »
I'm having issues with categorizing a cmd

Setting the cmd
Code: Lua
  1. if SERVER then
  2.   --<cmd function>--
  3.   local disablenametag = ulx.command("Simple NameTags", "ulx hidenametag", ulx.disablenametag, "!hidenametag", false)
  4.   disablenametag:defaultAccess(ULib.ACCESS_ADMIN)
  5.   disablenametag:addParam{ type=ULib.cmds.BoolArg, invisible=true }
  6.   disablenametag:help("Hides/Shows your nametag")
  7.   disablenametag:setOpposite( "ulx shownametag", {_, true}, "!shownametag" )
  8. end
« Last Edit: June 03, 2018, 08:54:57 am by Vaporouscreeper »
I'm a Moderator on a server called TheBox. and i'm mostly active on it

Offline Vaporouscreeper

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • TheBox steam group
Re: Ulx cmd not categorizing
« Reply #1 on: June 03, 2018, 09:38:59 am »
never mind i had it server not shared
I'm a Moderator on a server called TheBox. and i'm mostly active on it

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx cmd not categorizing
« Reply #2 on: June 03, 2018, 11:32:44 am »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

  • Print