Author Topic: Donator Job  (Read 1380 times)

0 Members and 1 Guest are viewing this topic.

Offline merttoski

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Donator Job
« on: February 18, 2015, 04:48:24 AM »
Guys I have problem with my Donator job setting When I paste this code to my job config
Code: [Select]
TEAM_GANG = DarkRP.createJob("Gangster", {
color = Color(75, 75, 75, 255),
model = {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"},
description = [[The lowest person of crime.
A gangster generally works for the Mobboss who runs the crime family.
The Mob boss sets your agenda and you follow it or you might be punished.]],
weapons = {"weapon_arc_atmcard"},
command = "gangster",
max = 3,
salary = GAMEMODE.Config.normalsalary,
admin = 0,
vote = false,
hasLicense = false
customCheck = function(ply) return ply:GetNWString("Donator") == "Donator" ply:GetUserGroup() == "Donator" or ply:IsAdmin() end,
})


I keep get this error I don't know Why. Thank :D

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given