One line breaks all jobs

Ok so in my shared.lua I paste this underneath “hasLicense = true,” in my swat commander jobs code

NeedToChangeFrom = TEAM_SWATOFFICER

and when I restart server map all the jobs are broken D: any ideas?

You probably forgot a comma somewhere. The best way to get help is always to provide the faulty code.

Works like this:

http://gyazo.com/735f18e9a99ef192c99d0d1859124dda.png?1353875952

Doesnt work like this:

http://gyazo.com/d18bab451053d911390a70097bf04e2a.png?1353875990

Edit: Fixed. Turns out I was missing a comma at the end of the licence line xD

Indeed, adda comma behind hasLicence = true.
So:



command = "swatcommander",
max = 1,
salary = 80,
admin = 0,
vote = false,
hasLicense = true,
NeedToChangeFrom = TEAM_SWATOFFICER


Yeah just noticed before you replied, thanks alot tho