Custom gang jobs.

So, I have been getting a ton of requests on adding custom gangs to my server. I’m not sure if I would have to make a new ULX group or what, or is there a way where I add the players name to the job in shared.lua please help!

Do you mean so only certain users can join the job?

What game-mode would this be for?

yes, so certain users can join the job :slight_smile:

[editline]18th July 2013[/editline]

This would be used for darkrp

(I’m assuming this is for darkrp)
[LUA]TEAM_Gang1 = TeamAdd(“Gang1”, Color(255, 255, 255, 255),
“models/player/zombiefast.mdl”, [[Do gang stuff.]], {}, “Gang”, 10, 180, 0, false, false, false, function(ply) return ply:SteamID() == “STEAMIDOFPLAYER” or ply:SteamID() == “steamdidofplayer” end)[/LUA]

Ah, there’s a pretty big DarkRP Help thread, someone may have already asked a question like this in there but DarkRP questions are usually supposed to go there.

Here’s a link: http://forum.facepunch.com/showthread.php?t=1249475

This would go in shared.lua right?

Yup it’s just a normal job :wink:

[editline]18th July 2013[/editline]

Oh wait I messed one thing up, for you the TeamAdd will be AddExtraTeam

So, I can add more than 1 person to that certain job right??? just duplicate ply:SteamID() == “steamdidofplayer” ??

Yes, just keep adding them or if you would like I could just make you a table and you can write all the names in their.

I would really appreciate that! Anyway to make it a lot more better looking??? :stuck_out_tongue: My jobs are currently like this
TEAM_RAPPER = AddExtraTeam(“Rapper”, {
color = Color(235, 40, 40, 255),
model = “models/player/soldier_stripped.mdl”,
description = [[You are a rapper. Open up a club and just spit
rhymes!]],
weapons = {“keys”, “weapon_fists”},
command = “rapper”,
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
})

You get tons of requests you say? I doubt that if you don’t know where jobs are located, which means I doubt the server is popular. All you need is custom jobs…

Plasmagaming, search it up on gmod.

[LUA]TEAM_RAPPER = AddExtraTeam(“Rapper”, {
color = Color(235, 40, 40, 255),
model = “models/player/soldier_stripped.mdl”,
description = [[You are a rapper. Open up a club and just spit
rhymes!]],
weapons = {“keys”, “weapon_fists”},
command = “rapper”,
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false
customCheck = function(ply) return ply:SteamID() == “STEAMID” or ply:SteamID() == “STEAMID” end
})[/LUA]

Thanks so much :wink:

It isn’t that big, doesn’t show on first page of google.

You need a comma.

You are very right, thank you for pointing it out for me.
[LUA]TEAM_RAPPER = AddExtraTeam(“Rapper”, {
color = Color(235, 40, 40, 255),
model = “models/player/soldier_stripped.mdl”,
description = [[You are a rapper. Open up a club and just spit
rhymes!]],
weapons = {“keys”, “weapon_fists”},
command = “rapper”,
max = 2,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return ply:SteamID() == “STEAMID” or ply:SteamID() == “STEAMID” end
})[/LUA]