ULX

Author Topic: ULX usergroup for specific jobs in DarkRP  (Read 4914 times)

0 Members and 1 Guest are viewing this topic.

Offline ldshaul01

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
ULX usergroup for specific jobs in DarkRP
« on: September 04, 2014, 09:13:31 AM »
So I wan wondering if there was a way to set a specific usergroup, like for example making one named "Movie Manager," to a DarkRP job called Movie Manager so that that who ever is in that job gets temporarily set as "Movie Manager" so that they can have permission to use the PlayX entity.

I run an up-to-date version of DarkRP on my Garry's Mod server. I am running ULX. If you need anything else from me, just ask! :)

Offline Avoid

  • Full Member
  • ***
  • Posts: 142
  • Karma: 42
Re: ULX usergroup for specific jobs in DarkRP
« Reply #1 on: September 04, 2014, 09:08:46 PM »
Hello,
take a look here on how to create a job.
Then add that user to your desired usergroup, using ucl.addUser

Avoid

Offline ldshaul01

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
Re: ULX usergroup for specific jobs in DarkRP
« Reply #2 on: September 05, 2014, 07:01:45 AM »
Hello,
take a look here on how to create a job.
Then add that user to your desired usergroup, using ucl.addUser

Avoid

Actually I just looked at the code and it says that you need to add a user ID. Does this mean that I can only designate specific players to having that job? or.. having the ULX access while they have that job?
« Last Edit: September 05, 2014, 07:09:15 AM by ldshaul01 »

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: ULX usergroup for specific jobs in DarkRP
« Reply #3 on: September 05, 2014, 10:20:04 PM »
I've seen how the Movie Manager for PlayX has been set up before. Can you provide the job code (if you have it) for the Movie Manager?
Once you get to know me, you'll find you'll have never met me at all.

Offline ldshaul01

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
Re: ULX usergroup for specific jobs in DarkRP
« Reply #4 on: September 06, 2014, 06:36:39 AM »
I've seen how the Movie Manager for PlayX has been set up before. Can you provide the job code (if you have it) for the Movie Manager?

This is the code for my movie manager. :)

TEAM_MOVIE = AddExtraTeam("Movie Manager", {
   color = Color(0, 255, 162, 255),
   model = {
   "models/player/humans/suits1/male_01.mdl",
   "models/player/humans/suits1/male_02.mdl",
   "models/player/humans/suits1/male_03.mdl",
   "models/player/humans/suits1/male_04.mdl"
   },
   description = [[Manage your own movie theater.]],
   weapons = {},
   command = "movie",
   max = 1,
   salary = 70,
   admin = 0,
   vote = false,
   hasLicense = false
})

Offline ldshaul01

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
Re: ULX usergroup for specific jobs in DarkRP
« Reply #5 on: September 07, 2014, 11:34:40 AM »
I've seen how the Movie Manager for PlayX has been set up before. Can you provide the job code (if you have it) for the Movie Manager?

?????

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: ULX usergroup for specific jobs in DarkRP
« Reply #6 on: September 07, 2014, 08:20:46 PM »
And this IS for DarkRP 2.5.x correct?
Once you get to know me, you'll find you'll have never met me at all.

Offline ldshaul01

  • Newbie
  • *
  • Posts: 12
  • Karma: -1
Re: ULX usergroup for specific jobs in DarkRP
« Reply #7 on: September 08, 2014, 04:15:35 AM »
And this IS for DarkRP 2.5.x correct?

That is correct.