Coding problems (Custom check donator) (Hopefully right place)

Now I am using the ulx admin thing and this is the job I put the custom check donator thing in and it doesn’t work with any jobs! This is the code I put in!

TEAM_SWAT = DarkRP.createJob(“Swat”, {
color = Color(70, 130, 180),
model = {“models/player/police.mdl”, “models/player/police_fem.mdl”},
description = [[You have been a Swat Recruit for years and finally you became one of the big boys! Swat can only help Swat on raids and protect the PD!]],
weapons = {“fas2_m4a1”, “stunstick”, “door_ram”, “weaponchecker”},
command = “Swat”,
max = 2,
salary = GAMEMODE.Config.normalsalary * 1.45,
admin = 0,
vote = true,
hasLicense = false,
customCheck = function(ply) return ply:GetUserGroup() == “donator” or ply:IsAdmin() end,
CustomCheckFailMsg = “Sorry, this class is donator only! Go to the website to become a donator”
ammo = {
[“pistol”] = 60,
}
})

It gets an error and it doesn’t show up the jobs I put in my class file. If anyone can help then that would be good!

What’s the error?

Ehh if im not mistaken but doesn’t CustomCheckFailMsg = “Sorry, this class is donator only! Go to the website to become a donator” need a , on the end?

You’re correct; thought the ammo table was separate.

Ahh ok:)

Thanks