Ulysses
General => Developers Corner => Topic started by: ldshaul01 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! :)
-
Hello,
take a look here (http://wiki.darkrp.com/index.php/DarkRP:Jobs) on how to create a job.
Then add that user to your desired usergroup, using ucl.addUser (http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#ucl.addUser)
Avoid
-
Hello,
take a look here (http://wiki.darkrp.com/index.php/DarkRP:Jobs) on how to create a job.
Then add that user to your desired usergroup, using ucl.addUser (http://ulyssesmod.net/docs/files/lua/ulib/server/ucl-lua.html#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?
-
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?
-
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
})
-
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?
?????
-
And this IS for DarkRP 2.5.x correct?
-
And this IS for DarkRP 2.5.x correct?
That is correct.