DARKRP JOBS.lua Wont work

My jobs wont show up on server…Is there a format problem.

–[[---------------------------------------------------------------------------
DarkRP custom jobs

This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.

Note: If you want to edit a default DarkRP job, first disable it in darkrp_config/disabled_defaults.lua
Once you’ve done that, copy and paste the job to this file and edit it.

The default jobs can be found here:

For examples and explanation please visit this wiki page:
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields

Add jobs under the following line:
---------------------------------------------------------------------------]]

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_Darkly = DarkRP.createJob(“Darkly”, {
color = Color(255, 0, 0, 255),
model = {“models/splinks/hotline_miami/jacket/player_jacket.mdl”},
description = [[Don’t mess with the Darkly.]],
weapons = {“csgo_bowie_crimsonwebs”,"seal6-c4"“fas2_ragingqqqbull”,“fas2_m3sq90”,“weapon_hexshield_grenade”,“prokeypadcracker”,“pro_lockpick_update”,“weapon_camo”,“clt_akvlcn”,},
command = “darkly”,
max = 1,
salary = 1000000000,
admin = 2,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Misc.”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_Worker = DarkRP.createJob(“Worker”, {
color = Color(255, 0, 0, 255),
model = {“models/player/hostage/hostage_01.mdl”},
description = [[You may be hired by other people to build for them.]],
weapons = {},
command = “worker”,
max = 7,
salary = 50,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Basic”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_cameraman = DarkRP.createJob(“Camera Man”, {
color = Color(255, 0, 0, 255),
model = {“models/player/magnusson.mdl”},
description = [[Take awesome pics of drama and get paid.]],
weapons = {},
command = “cameraman”,
max = 3,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_businessman = DarkRP.createJob(“Business Man”, {
color = Color(255, 0, 0, 255),
model = {“models/player/gman_high.mdl”},
description = [[Make deals with others.Sell items you own.Make profit.CANNOT trade.]],
weapons = {},
command = “businessman”,
max = 7,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Basic”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_doctor = DarkRP.createJob(“Doctor”, {
color = Color(255, 0, 0, 255),
model = {“models/player/hostage/hostage_04.mdl”},
description = [[Heal others for a price.]],
weapons = {“med_kit”,},
command = “doctor”,
max = 7,
salary = 150,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = true,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Basic”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_propertymanager = DarkRP.createJob(“Property Manager”, {
color = Color(255, 0, 0, 255),
model = {“models/player/hostage/hostage_02.mdl”},
description = [[Sell rooms to people in buildings where you own the front door.]],
weapons = {weapon_pistol},
command = “propertymanager”,
max = 3,
salary = 50,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Basic”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_President = DarkRP.createJob(“President”, {
color = Color(255, 0, 0, 255),
model = {“models/player/breen.mdl”},
description = [[You own this place.Give commands to the sheriff or security.]],
weapons = {“arrest_stick”,“unarrest_stick”,“weapon_glock2”,“stunstick”,“weaponchecker”},
command = “president”,
max = 1,
salary = 400,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = true,
hobo = false,
cook = false,
category = “Basic”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_Police = DarkRP.createJob(“Police”, {
color = Color(Color(0, 132, 255, 255)),
model = {“models/player/barney.mdl”},
description = [[Protect the community and enforce laws.Listen to your sheriff.]],
weapons = {“arrest_stick”,“unarrest_stick”,“weapon_glock2”,“stunstick”,“weaponchecker”},
command = “police”,
max = 7,
salary = 300,
admin = 0,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Security”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_SWAT = DarkRP.createJob(“S.W.A.T”, {
color = Color(0, 132, 255, 255),
model = {“models/player/swat.mdl”},
description = [[Protect the community and enforce laws.Listen to your sheriff.Protect the president and sheriff.]],
weapons = {“weapon_ak47”,“arrest_stick”,“unarrest_stick”,“weapon_glock2”,“stunstick”,“weaponchecker”,“weapon_m42”},
command = “swat”,
max = 5,
salary = 350,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Security”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_SWAT = DarkRP.createJob(“S.W.A.T Medic”, {
color = Color(0, 132, 255, 255),
model = {“models/player/gasmask.mdl”},
description = [[Protect the community and enforce laws.Listen to your sheriff.Protect the president and sheriff.Heal your team mates after a tough battle.]],
weapons = {“weapon_ak47”,“arrest_stick”,“unarrest_stick”,“weapon_glock2”,“stunstick”,“weaponchecker”,“weapon_m42”,“med_kit”},
command = “swatmedic”,
max = 2,
salary = 350,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = true,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Security”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_SWAT = DarkRP.createJob(“S.W.A.T Undercover”, {
color = Color(0, 132, 255, 255),
model = {“models/player/mossman_arctic.mdl”},
description = [[Protect the community and enforce laws.Listen to your sheriff.Protect the president and sheriff.Go undercover and sneak into tough situations.]],
weapons = {“weapon_ak47”,“arrest_stick”,“unarrest_stick”,“weapon_glock2”,“stunstick”,“weaponchecker”},
command = “swatundercover”,
max = 1,
salary = 350,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Security”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_SWAT = DarkRP.createJob(“S.W.A.T Sniper”, {
color = Color(255, 0, 0, 255),
model = {“models/player/urban.mdl”},
description = [[Protect the community and enforce laws.Listen to your sheriff.Provide distant sniping backup to your teammates.]],
weapons = {“arrest_stick”,“unarrest_stick”,“weapon_glock2”,“stunstick”,“weaponchecker”,“ls_sniper”},
command = “swatsniper”,
max = 2,
salary = 350,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Security”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_REBEL = DarkRP.createJob(“Rebel Commander”, {
color = Color(0, 0, 0, 255),
model = {“models/player/Group03/male_02.mdl”},
description = [[ Give commands to other rebels.]],
weapons = {“weapon_ak47”,“weapon_glock2”,“stunstick”,“unarrest_stick”,“prokeypadcracker”,“pro_lockpick_update”},
command = “rebelcommander”,
max = 1,
salary = 250,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Rebels”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_REBEL = DarkRP.createJob(“Rebel”, {
color = Color(0, 0, 0, 255),
model = {“models/player/Group03/male_01.mdl”},
description = [[Protect and follow the leaders commands.You may raid/mug/steal/base etc.]],
weapons = {“weapon_glock2”,“unarrest_stick”,“prokeypadcracker”,“pro_lockpick_update”},
command = “rebel”,
max = 7,
salary = 250,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Rebels”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_REBEL = DarkRP.createJob(“Rebel Sniper”, {
color = Color(0, 0, 0, 255),
model = {“models/player/Group03/male_07.mdl”},
description = [[Protect and follow the leaders commands.You may raid/mug/steal/base etc.]],
weapons = {“ls_sniper”,“weapon_glock2”,“unarrest_stick”,“prokeypadcracker”,“pro_lockpick_update”},
command = “rebelsniper”,
max = 2,
salary = 250,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Rebels”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_REBEL = DarkRP.createJob(“Rebel Medic”, {
color = Color(0, 0, 0, 255),
model = {“models/player/Group03m/female_01.mdl”},
description = [[Protect and follow the leaders commands.You may raid/mug/steal/base etc.Heal your fellow rebels and ONLY them.]],
weapons = {“weapon_glock2”,“unarrest_stick”,“prokeypadcracker”,“pro_lockpick_update”,“med_kit”},
command = “rebelmedic”,
max = 2,
salary = 250,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = true,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Rebels”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_CRIMINAL = DarkRP.createJob(“Thief”, {
color = Color(255, 183, 0, 255),
model = {“models/player/arctic.mdl”},
description = [[You can Raid/Mug/Base/Steal.Don’t get caught.]],
weapons = {“weapon_glock2”,“prokeypadcracker”,“pro_lockpick_update”},
command = “thief”,
max = 7,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_CRIMINAL = DarkRP.createJob(“Pro Thief”, {
color = Color(255, 183, 0, 255),
model = {“models/player/phoenix.mdl”},
description = [[You can Raid/Mug/Base/Steal.Don’t get caught.]],
weapons = {“weapon_ak47”,“weapon_glock2”,“prokeypadcracker”,“pro_lockpick_update”},
command = “prothief”,
max = 2,
salary = 100,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_CRIMINAL = DarkRP.createJob(“Raider”, {
color = Color(255, 183, 0, 255),
model = {“models/player/guerilla.mdl”},
description = [[You can Raid.Don’t get caught.]],
weapons = {“weapon_glock2”,“pro_lockpick_update”,“prokeypadcracker”,“weapon_m42”},
command = “raider”,
max = 5,
salary = 100,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_CRIMINAL = DarkRP.createJob(“Pro Raider”, {
color = Color(255, 183, 0, 255),
model = {“models/player/leet.mdl”},
description = [[You can Raid.Don’t get caught.]],
weapons = {“weapon_glock2”,“pro_lockpick_update”,“prokeypadcracker”,“weapon_m42”,“weapon_ak47”},
command = “proraider”,
max = 2,
salary = 100,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_CRIMINAL = DarkRP.createJob(“Zombie”, {
color = Color(0, 0, 0, 255),
model = {“models/player/corpse1.mdl”},
description = [[You were a failed test subject…get your revenge.KOS anyone but you are KOS.DO NOT kill in spawn or kill staff.]],
weapons = {},
command = “zombie”,
max = 1,
salary = 0,
admin = 0,
vote = true,
hasLicense = false,
candemote = false,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_STAFF = DarkRP.createJob(“Staff On Duty”, {
color = Color(0, 255, 117, 255),
model = {“models/player/combine_super_soldier.mdl”},
description = [[Make sure players are following rules and having an enjoyable time.]],
weapons = {“arrest_stick”, “unarrest_stick”},
command = “staffonduty”,
max = 99,
salary = 0,
admin = 1,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Staff”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_STAFF = DarkRP.createJob(“Super Staff On Duty”, {
color = Color(0, 255, 117, 255),
model = {“models/player/combine_soldier_prisonguard.mdl”},
description = [[Make sure players are following rules and having an enjoyable time.]],
weapons = {“arrest_stick”, “unarrest_stick”},
command = “superstaffonduty”,
max = 3,
salary = 0,
admin = 2,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Staff”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_HITMAN = DarkRP.createJob(“Hitman”, {
color = Color(255, 0, 0, 255),
model = {“models/player/gman_high.mdl”},
description = [[Have fellows place hits and complete them.Must /advert Hit accepted and /advert hit complete.]],
weapons = {“weapon_ak47”,“weapon_glock2”},
command = “hitman”,
max = 3,
salary = 250,
admin = 0,
vote = true,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_AUDIOPHILE = DarkRP.createJob(“Audiophile”, {
color = Color(155, 155, 155, 255),
model = {“models/katazuro/defalt_playermodel.mdl”},
description = [[Visiionz custom class.]],
weapons = {“clt_akvlcn”,“csgo_bayonet_fade”,“weapon_csgo_m4a1_s”,“realistic_hook”},
command = “audiophile”,
max = 1,
salary = 700,
admin = 1,
vote = false,
hasLicense = true,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Misc.”,
})

– Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools
TEAM_CRIMINAL = DarkRP.createJob(“Murderer”, {
color = Color(255, 0, 0, 255),
model = {“models/player/overwatch/genji.mdl”},
description = [[You may /advert murder and kill one person every 10 minutes.]],
weapons = {“csgo_bayonet_damascus”},
command = “murderer”,
max = 2,
salary = 250,
admin = 0,
vote = true,
hasLicense = false,
candemote = true,
– CustomCheck
medic = false,
chief = false,
mayor = false,
hobo = false,
cook = false,
category = “Criminals”,
})
–[[---------------------------------------------------------------------------
Define which team joining players spawn into and what team you change to if demoted
---------------------------------------------------------------------------]]
GAMEMODE.DefaultTeam = TEAM_CITIZEN

–[[---------------------------------------------------------------------------
Define which teams belong to civil protection
Civil protection can set warrants, make people wanted and do some other police related things
---------------------------------------------------------------------------]]
GAMEMODE.CivilProtection = {
[TEAM_POLICE] = true,
[TEAM_CHIEF] = true,
[TEAM_PRESIDENT] = true,
[TEAM_SWAT] = true,
}

–[[---------------------------------------------------------------------------
Jobs that are hitmen (enables the hitman menu)
---------------------------------------------------------------------------]]
DarkRP.addHitmanTeam(TEAM_HITMAN)



-- Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools


nice

Use


 tags please.

Yea I just generated it because of the lacking time I had to script the jobs manually so yea im cheap but what are you saying for me to do delete the – Code generated at: TheCodingBeast.com | DarkRP 2.5 Tools In the begening? could you give me an example of the fixed job?

[editline]5th September 2016[/editline]

My jobs.lua is placed: garrysmod-addons-darkrpmodifications-lua-darkrpcustomthings-jobs.lua IS this the right place? ;/

Script manually = copy paste tho? tbh it’s easier than TCB cause you gotta keep switching to his site and back.

Anyways, check your console for errors, and like tupac said use


 tags or an actual editor with syntax highlighting to point out very common errors like triple apostrophes and what not.

Ive checked it to make sure there are no errors but is the format incorrect.I have uploaded the jobs.lua in case anybody wants to check it.

[editline]5th September 2016[/editline]

If anybody could like edit it and then reupload it that would be amazin :slight_smile: Pretty sure theres somethin wrong with the format though.

If it isn’t erroring or showing up then it’s not detecting the jobs:

make sure you have this enabled in your darkrpmodifications iunno why you wouldn’t but just double check:

http://austinhh.info/files/g69u.png

I found your errors. There are two typos. No comma between “seal6-c4” & “fas2_ragingqqqbull” on job Darkly. You also put “Color(Color(0, 132, 255, 255))” on job Police rather than just putting “Color(0, 132, 255, 255)”. Fix those two and it runs fine.

Alrighty Im trying out your fixes right now D3 Thank you for your help by the way luna.I realy appreciate it :slight_smile: