Author Topic: Custom Menu Within ULX Menu  (Read 2407 times)

0 Members and 1 Guest are viewing this topic.

Offline joshlisher

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Custom Menu Within ULX Menu
« on: January 07, 2016, 10:26:48 AM »
I have an addon which I have to put a command in console to open the menu. the menu is like the ULX menu, it has buttons. How would I make this addon show in the menu tab in the ULX menu (See this image https://gyazo.com/96ddc265015037dd71280f659749dd00) so my staff can just click the button or type the command in the chat box instead of looking all over the internet to find the console command as it can be hard to find?

Offline WispySkies

  • Full Member
  • ***
  • Posts: 144
  • Karma: 0
  • I make random commands and Lua errors.
Re: Custom Menu Within ULX Menu
« Reply #1 on: January 07, 2016, 06:31:24 PM »
Can you tell me the console command used to access the menu?

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Custom Menu Within ULX Menu
« Reply #2 on: January 08, 2016, 07:47:07 AM »
If the addon has its own custom derma menu for its commands, there is no way to add that to ULX. If you wish you can port the commands to ULX commands, in which case they would display in the ULX menu by default.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline joshlisher

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Custom Menu Within ULX Menu
« Reply #3 on: January 08, 2016, 01:56:51 PM »
Hi, thanks for offering to help me here is the command

whitelist_systemjob

Offline WispySkies

  • Full Member
  • ***
  • Posts: 144
  • Karma: 0
  • I make random commands and Lua errors.
Re: Custom Menu Within ULX Menu
« Reply #4 on: January 08, 2016, 06:17:06 PM »
We have completed this through steam. I'm just clarifying its done so you guys don't take the hassle (well my like 3 lines of code) of making it when completed.