DarkRP Donator jobs

So this is the code

219; TEAM_THIEFVIP = AddExtraTeam(“Thief VIP”, {
220; color = Color(25, 25, 25, 255),
221; model = “models/player/gman_high.mdl”,
222; description = [[The Mobboss is the boss of the criminals in the city.
223; With his power he coordinates the gangsters and forms an efficent crime
224; organization.
225; He has the ability to break into houses by using a lockpick.
226; The Mobboss also can unarrest you.]],
227; weapons = {“lockpick”},
228; command = “thiefvip”,
229; max = 2,
230; salary = 60,
231; admin = 0,
232; vote = false,
233; hasLicense = false
234; function(ply) return ply:GetUserGroup() == “vip” end
235; })

Just made the job to see if it was working got the code from here http://wiki.darkrp.com/index.php?title=DarkRP-Config

This is my error

[ERROR] gamemodes/darkrp/gamemode/shared.lua:233: ‘}’ expected (to close ‘{’ at line 218) near ‘function’

  1. unknown - gamemodes/darkrp/gamemode/shared.lua:0

But if I remove the line 234 it works fine

-Troniix

You need a “,” (without quotes obv) after “hasLicense”. I had the same problem.

Well F**K me -.- Thanks for the answer :smiley:

It is kinda working but everybody can be that job

This’ll work:
[lua]TEAM_THIEFVIP = AddExtraTeam(“Thief VIP”, {
color = Color(25, 25, 25, 255),
model = “models/player/gman_high.mdl”,
description = [[The Mobboss is the boss of the criminals in the city.
With his power he coordinates the gangsters and forms an efficent crime
organization.
He has the ability to break into houses by using a lockpick.
The Mobboss also can unarrest you.]],
weapons = {“lockpick”},
command = “thiefvip”,
max = 2,
salary = 60,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply)
return ply:IsUserGroup(“vip”)
end
})[/lua]

Nope if I add that it F**K’s up ULX Menu

-Edit found out that ULX is just dumb and F**K’s up after a while no matter what