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:
[img]http://gyazo.com/735f18e9a99ef192c99d0d1859124dda.png?1353875952[/img]
Doesnt work like this:
[img]http://gyazo.com/d18bab451053d911390a70097bf04e2a.png?1353875990[/img]
Edit: Fixed. Turns out I was missing a comma at the end of the licence line xD
[QUOTE=Crazy Quebec;38590836][B]You probably forgot a comma somewhere. [/B]The best way to get help is always to provide the faulty code.[/QUOTE]
Indeed, adda comma behind hasLicence = true.
So:
[code]
command = "swatcommander",
max = 1,
salary = 80,
admin = 0,
vote = false,
hasLicense = true,
NeedToChangeFrom = TEAM_SWATOFFICER
[/code]
[QUOTE=Cyberuben;38590979]Indeed, adda comma behind hasLicence = true.
So:
[code]
command = "swatcommander",
max = 1,
salary = 80,
admin = 0,
vote = false,
hasLicense = true,
NeedToChangeFrom = TEAM_SWATOFFICER
[/code][/QUOTE]
Yeah just noticed before you replied, thanks alot tho
Sorry, you need to Log In to post a reply to this thread.