Garry's Mod

Garry's Mod

View Stats:
13CHAG Jun 3, 2017 @ 8:45pm
Custom jobs won't let me be them
I just started to make a new server with my friend and we are adding jobs for darkrp and since I am making them I had to get a template and everything and I finally figured out how to do it. I got the jobs in F4 and I can see the but I can't become any of them except Theif. I don't know why this is but when I click become job or create vote it just takes me out of the F4 menu. Any suggestions?
< >
Showing 1-2 of 2 comments
Helix Jun 3, 2017 @ 10:25pm 
can you show me a example of one job that isnt working like for example the whole code for on job that does not work and i will tell you what is wrong
13CHAG Jun 4, 2017 @ 12:52pm 
Originally posted by Gh0sT:
can you show me a example of one job that isnt working like for example the whole code for on job that does not work and i will tell you what is wrong
alright


these won't work:

TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {
color = Color(170, 0, 0, 255),
model = "models/player/combine_soldier.mdl",
description = [[Being an admin requires a great responsibility, when you become this job you have to take
your job as an admin serious, and help the ones who is in need of an admin.]],
weapons = {},
command = "adminonduty",
max = 0,
salary = 100,
admin = 1,
vote = false,
hasLicense = false,
category = "Staff",
})


TEAM_SS = DarkRP.createJob("Secret Service", {
color = Color(100, 20, 20, 255),
model = "models/player/macdguy.mdl",
description = [[You are responsible for protecting the mayor.
Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],
weapons = {"m9k_usp", "stunstick", "weaponchecker"},
command = "ss",
max = 2,
salary = 65,
admin = 0,
vote = true,
hasLicense = false,
ammo = {
["pistol"] = 60,
},
category = "Civil Protection",
})


TEAM_HITMAN = DarkRP.createJob("Hitman", {
color = Color(55, 55, 55, 255),
model = "models/player/sunabouzu.mdl",
description = [[People hire you to take out other people,
this job require you to be completely focussed.
A single breath can make you loose a shot.]],
weapons = {"m9k_m24"},
command = "hitman",
max = 2,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
category = "Criminals",
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jun 3, 2017 @ 8:45pm
Posts: 2