New job problem

Hello today I tried to add a job to my darkrp server but it’s not there when I join. I went into my jobs.lua and pasted this code under my hitman job.

TEAM_BLACK = AddExtraTeam(“Black Market Dealer”, Color(70, 70, 70, 255), “models/player/leet.mdl”, [[You are a black market dealer NOT a gun dealer.
You sell illegal weapons to the people but beware
because you might get caught by the police!]], {“models/weapons/w_tcom_deagle.mdl”}, “black”, 2, 50, 0, false, false, false)

So if anyone has a solution on what to do that would be great, thanks.

You should use the latest format for DarkRP jobs, using a table rather than a bunch of parameters.
http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields
Example:
[lua]
TEAM_BLACK = AddExtraTeam(“Black Market Dealer”, {
color = Color(70, 70, 70, 255),
model = “models/player/leet.mdl”,
description = [[You are a black market dealer NOT a gun dealer.
You sell illegal weapons to the people but beware
because you might get caught by the police!]],
weapons = {“tcom_deagle”},
command = “black”,
max = 2,
salary = 50,
admin = 0,
vote = false,
hasLicense = false
})[/lua]

Thats a old layout,




TEAM_BLACK = AddExtraTeam("Black Market Dealer", {
color = Color(70, 70, 70, 255),
model = "models/player/leet.mdl",
description = [[You are a black market dealer NOT a gun dealer.
You sell illegal weapons to the people but beware
because you might get caught by the police!]],
weapons = {"models/weapons/w_tcom_deagle.mdl"},
command = "black",
salary = 45,

Try that, not sure if i got it right thou.

Thank you this lay out worked.