Server script errors

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Nikko
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Jan 13, 2015 5:23 pm

Server script errors

Post by Nikko »

this error
[ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:360: '}' expected (to close '{' at line 349) near 'customCheck'
1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:0

I think is what is making my job scripts on gmod not showing up. Please help and see this script and show me where my mistake is

TEAM_BLACKMARKET = AddExtraTeam("Black Market Dealer", {
color = Color(0, 0, 0, 255),
model = "models/player/tm_leet_variantb.mdl",
description = [[You sell illegal military grade equipment.
Be sure you don't traffick them in Public.]],
command = "blackdealer",
max = 2,
salary = 55,
admin = 0,
vote = false,
hasLicense = false
customCheck = function(ply) return ply:GetNetworkedString("usergroup") == "bronzevip" or ply:GetNetworkedString("usergroup") == "bronzevip" or ply:IsAdmin() end,
CustomCheckFailMsg = "This job is bronzeVIP only!"
Post Reply