ULX

Author Topic: Ulx team chooser  (Read 2330 times)

0 Members and 1 Guest are viewing this topic.

Offline | spud²

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Ulx team chooser
« on: December 13, 2016, 11:43:43 AM »
My ULib/ULX versions (run "ulx version" in console)
Latest version

Game mode(s) I am having this problem on:
Darkrp

Hi I was wondering if there was an addon or way so when a user joins the server they get the option of joining two different ulx groups,  so allowing then access to only certain jobs? 
Please help and thank you in advance

Edit: it there a way ye set a custom spawn point if you are in a certain ulx group too?! 
« Last Edit: December 13, 2016, 01:43:04 PM by | spud² »

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: Ulx team chooser
« Reply #1 on: December 13, 2016, 01:19:53 PM »
You would either need a whitelist system or custom checks in your DarkRP file.

About the letting people choose two groups;

Make a VGUI that has 2 buttons and 1 sets their group to one group then the other button the other group.

I'm not sure how to do this but for the DarkRP side [Job files] Add me on steam; http://steamcommunity.com/id/scoutmc/

Offline | spud²

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Ulx team chooser
« Reply #2 on: December 13, 2016, 01:23:13 PM »
Ok thanks I can do the custom check for the jobs but do you have any idea where I could find help on making the Vgui pop up?

Offline Scout | Anthony F

  • Newbie
  • *
  • Posts: 17
  • Karma: 1
Re: Ulx team chooser
« Reply #3 on: December 15, 2016, 12:25:55 PM »
Ok thanks I can do the custom check for the jobs but do you have any idea where I could find help on making the Vgui pop up?

No I am not sure. Lets hope someone else posts here!

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Ulx team chooser
« Reply #4 on: December 16, 2016, 06:02:26 PM »
Derma Basic Guide on the Garry's Mod Wiki.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.