• I can't become jobs...
    4 replies, posted
I coded my jobs, they have no errors, nothing. I can click on the job but nothing happens, I can't figure it out. Like darkrp is messed up. I need help!
Well then, without any errors or any information we wont do anything
Send your code or else we can't help you, simple as.
TEAM_THIEF = DarkRP.createJob("Thief", {     color = Color(0, 0, 0, 255),     model = "models/player/lulsec.mdl",     description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],     weapons = {"weapon_physcannon", "lockpick", "m9k_sig_p229r", "pocket", "weapon_physgun"}, -- You may wanna find a pickpocket swep and add it here.     command = "thief",     max = 6,     salary = 150,     admin = 0,     vote = false,     hasLicense = false,     category = "Criminals" })   TEAM_HITMAN = DarkRP.createJob("Hitman", {     color = Color(0, 0, 0, 255),     model = "models/player/agent_47.mdl",     description = [[People hire you to take out other people,       this job require you to be completely focussed.       A single breath can make you loose a shot.]],     weapons = {"weapon_physcannon", "cw_trg42", "pocket", "weapon_physgun"},     command = "hitman",     max = 2,     salary = 75,     admin = 0,     vote = false,     hasLicense = false,     category = "Criminals" })   TEAM_SS = DarkRP.createJob("Secret Service", {     color = Color(100, 20, 20, 255),     model = "models/player/smith.mdl",     description = [[You are responsible for protecting the mayor.       Take care of the old fellow, he is vanuarable to terrorists all the time! Before he enters a room, you need to make sure its secure.]],     weapons = {"weapon_physcannon", "weapon_deagle2", "stunstick", "weaponchecker", "pocket", "weapon_physgun"},     command = "ss",     max = 4,     salary = 300,     admin = 0,     vote = true,     hasLicense = false,     ammo = {         ["pistol"] = 60     },     category = "Civil Protection",     PlayerSpawn = function(ply)         ply:SetArmor(100)     end,     customCheck = function(ply) return ply:GetUserGroup() == "police" or ply:IsSuperAdmin() end,     CustomCheckFailMsg = "This job is for police only!" })   TEAM_SWAT = DarkRP.createJob("Swat", {     color = Color(25, 25, 170, 255),     model = {"Piket_Playermodel/face/head_diff_000_a_whi_2"},     description = [[The protector of every citizen that lives in the city.           You have the power to arrest criminals and protect innocents.           Hit a player with your arrest baton to put them in jail.           Bash a player with a stunstick and they may learn to obey the law.           The Battering Ram can break down the door of a criminal, with a warrant for their arrest.           The Battering Ram can also unfreeze frozen props (if enabled).           Type /wanted <name> to alert the public to the presence of a criminal.]],     weapons = {"weapon_physcannon", "arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs", "pocket", "weapon_physgun"},     command = "Swat",     max = 8,     salary = 200,     admin = 0,     vote = true,     hasLicense = true,     help = {"Please don't abuse your job", "When you arrest someone they are auto transported to jail.", "They are auto let out of jail after some time", "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.", "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect", "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect", "Type /jailpos to set the jail position"},     category = "Civil Protection",     PlayerSpawn = function(ply)         ply:SetArmor(100)     end,     customCheck = function(ply) return ply:GetUserGroup() == "police" or ply:IsSuperAdmin() end,     CustomCheckFailMsg = "This job is for police only!" })   TEAM_ADMIN = DarkRP.createJob("Admin On Duty", {     color = Color(170, 0, 0, 255),     model = "models/player/zeus_combine_v2/zeus_combine_v2.mdl",     description = [[Admin on duty is when you as an admin, is ready to make sure the server stays at its best.   It's up to you to patrol and respond to admin calls.]],    weapons = {"weapon_physcannon", "pocket", "weapon_physgun"},    command = "aod",    max = 0,    salary = 400,    admin = 0,    vote = false,    hasLicense = false,    category = "Admins",    customCheck = function(ply) return ply:IsAdmin() end })   TEAM_SWATL = DarkRP.createJob("Swat Leader", {    color = Color(20, 20, 255, 255),    model = {"models/codmw2/codmw2hexe.mdl"},    description = [[The protector of every citizen that lives in the city.          You have the power to arrest criminals and protect innocents.          Hit a player with your arrest baton to put them in jail.          Bash a player with a stunstick and they may learn to obey the law.          The Battering Ram can break down the door of a criminal, with a warrant for their arrest.          The Battering Ram can also unfreeze frozen props (if enabled).          Type /wanted <name> to alert the public to the presence of a criminal.]],    weapons = {"weapon_physcannon", "arrest_stick", "unarrest_stick", "m9k_m92beretta", "stunstick", "door_ram", "weaponchecker", "handcuffs", "pocket", "weapon_physgun"},    command = "Swatl",    max = 1,    salary = 200,    admin = 0,    vote = true,    hasLicense = true,    help = {"Please don't abuse your job", "When you arrest someone they are auto transported to jail.", "They are auto let out of jail after some time", "Type /warrant [Nick|SteamID|Status ID] to set a search warrant for a player.", "Type /wanted [Nick|SteamID|Status ID] to alert everyone to a wanted suspect", "Type /unwanted [Nick|SteamID|Status ID] to clear the suspect", "Type /jailpos to set the jail position"},    category = "Civil Protection",    PlayerSpawn = function(ply)        ply:SetArmor(100)    end,    customCheck = function(ply) return ply:GetUserGroup() == "police" or ply:IsSuperAdmin() end,    CustomCheckFailMsg = "This job is for police only!" })   TEAM_MTHIEF = DarkRP.createJob("Master Thief", {    color = Color(0, 0, 0, 255),    model = "models/player/robber.mdl",    description = [[You are a thief, rob people, lockpick their house and steal their plants and legal printers.]],    weapons = {"weapon_physcannon", "lockpick", "m9k_tec9", "pocket", "weapon_physgun"}, -- You may wanna find a pickpocket swep and add it here.    command = "mthief",    max = 2,    salary = 110,    admin = 0,    vote = false,    hasLicense = false,    category = "Criminals" })   TEAM_SADMIN = DarkRP.createJob("Superadmin on duty", {    color = Color(150, 20, 20, 255),    model = "models/player/anon/anon.mdl",    description = [[]],    weapons = {},    command = "saod",    max = 0,    salary = 100,    admin = 0,    vote = false,    hasLicense = false,    category = "Admins",    customCheck = function(ply) return ply:GetUserGroup() == "superadmin" end })   TEAM_FLASH = DarkRP.createJob("Flash", {    color = Color(255, 0, 255, 0),    model = "models/player/superheroes/flash.mdl",    description = [[works with the police and the fastest man alive.]],    weapons = {"weapon_physcannon", "realrbn_tazer_mr", "weapon_r_handcuffs", "door_ram", "keys", "tfsr_speedster", "swep_radiodevice", "pocket", "weapon_physgun"},    command = "flash",    max = 1,    salary = 246,    admin = 0,    vote = false,    hasLicense = true,    category = "Civil Protection",    PlayerSpawn = function(ply)        ply:SetArmor(100)    end,    customCheck = function(ply) return ply:GetUserGroup() == "donator" or ply:IsSuperAdmin() end,    CustomCheckFailMsg = "This job is Donator only!" })   TEAM_MANAGER = DarkRP.createJob("Bank Manager", {    color = Color(0, 67, 255, 225),    model = "models/player/dank.mdl",    description = [[Looks after the bank calls the police if its being robbed]],    weapons = {"pocket", "keys", "weapon_physcannon", "pocket", "weapon_physgun"},    command = "manager",    max = 2,    salary = 151,    admin = 0,    vote = false,    hasLicense = false,    category = "Citizens" })   TEAM_BOUNTY = DarkRP.createJob("Bounty Hunter", {    color = Color(127, 0, 255, 95),    model = "models/player/leet.mdl",    description = [[ You go arrest people who are wanted by the police and turn them in, and go kill people who have been bad and get rewarded, just don’t get caught by the police killing people within the law.   ]],    weapons = {"weapon_physcannon", "cw_silverballer", "cw_trg42", "lockpick", "keys", "keypad_cracker", "m9k_knife", "weapon_r_handcuffs", "pocket", "weapon_physgun"},    command = "bounty",    max = 2,    salary = 151,    admin = 0,    vote = false,    hasLicense = false,    category = "Citizens",    PlayerSpawn = function(ply)        ply:SetArmor(25)    end })   TEAM_FIRET = DarkRP.createJob("Firefighter", {    color = Color(255, 0, 255, 85),    model = "models/player/portal/Male_07_fireman.mdl",    "models/player/portal/Male_04_fireman.mdl",    "models/player/portal/Male_08_fireman.mdl",    "models/player/portal/Male_05_fireman.mdl",    "models/player/portal/Male_09_fireman.mdl",    "models/player/portal/Male_06_fireman.mdl",    description = [[ You stop big outbreaks of wildfires throughout the city   ]],    weapons = {"weapon_physcannon", "door_ram", "swep_radiodevice", "med_kit", "keys", "pocket", "weapon_physgun"},    command = "firet",    max = 8,    salary = 151,    admin = 0,    vote = false,    hasLicense = false,    category = "Firefighter",    customCheck = function(ply) return ply:GetUserGroup() == "police" or ply:IsSuperAdmin() end,    CustomCheckFailMsg = "This job is for police only!" })   TEAM_FIRE = DarkRP.createJob("Firefighter Chief", {    color = Color(255, 0, 255, 93),    model = "models/player/portal/Male_07_fireman.mdl",    description = [[You are the chief of the fire department, he drives the truck and orders what the firefighter do]],    weapons = {"weapon_physcannon", "door_ram", "swep_radiodevice", "med_kit", "keys", "pocket", "weapon_physgun"},    command = "fire",    max = 1,    salary = 151,    admin = 0,    vote = false,    hasLicense = false,    category = "Firefighter",    customCheck = function(ply) return ply:GetUserGroup() == "police" or ply:IsSuperAdmin() end,    CustomCheckFailMsg = "This job is for police only!" })   TEAM_DEA = DarkRP.createJob("DEA", {    color = Color(127, 0, 255, 255),    model = "models/fbi_pack/fbi_09.mdl",    "models/fbi_pack/fbi_05.mdl",    "models/fbi_pack/fbi_08.mdl",    "models/fbi_pack/fbi_03.mdl",    "models/fbi_pack/fbi_01.mdl",    "models/fbi_pack/fbi_04.mdl",    description = [[You get warrents and raid people houses with the swat team to catch them with a drug lab, then you send them to jail and  stop them before they sell it.]],    weapons = {"weapon_physcannon", "door_ram", "swep_radiodevice", "med_kit", "keys", "realrbn_tazer_mr", "weapon_r_handcuffs", "m9k_usp", "m9k_m416", "pocket", "weapon_physgun"},    command = "dea",    max = 3,    salary = 151,    admin = 0,    vote = false,    hasLicense = false,    category = "Civil Protection",    customCheck = function(ply) return ply:GetUserGroup() == "police" or ply:IsSuperAdmin() end,    CustomCheckFailMsg = "This job is for police only!" })   TEAM_ROBL = DarkRP.createJob("Robber Leader", {    color = Color(127, 0, 255, 255),    model = "models/player/bloodz/Bloodz2.mdl",    "models/player/bloodz/Bloodz1.mdl",    description = [[you lead robberies and set up groups to rob the bank. Use !party to set a party up]],    weapons = {"weapon_physcannon", "cw_silverballer", "weapon_vape_medicinal", "tfsr_tranquilizer", "m9k_hk45", "weapon_cable_tied", "swep_radiodevice", "keys", "lockpick", "pocket", "weapon_physgun"},    command = "robl",    max = 1,    salary = 75,    admin = 0,    vote = false,    hasLicense = false,    category = "Criminals" })   TEAM_ROB = DarkRP.createJob("Robbers", {    color = Color(0, 0, 255, 0),    model = "models/pechenko_121/Deadpool/chr_deadpooldpooly.mdl",    "models/narry/shrek_playermodel_v1.mdl",    "models/sinful/mariob_hatless.mdl",    "models/player/kermit.mdl",    "Models/player/Mermaidman/Mermaidman.mdl",    "models/sbplayer/sb.mdl",    "models/player/superheroes/batman.mdl",    "models/player/woody.mdl",    description = [[You rob the bank with the robbery leader. Make sure you join the party]],    weapons = {"weapon_physcannon", "weapon_vape_medicinal", "m9k_hk45", "weapon_cable_tied", "swep_radiodevice", "lockpick", "pocket", "weapon_physgun"},    command = "rob",    max = 5,    salary = 75,    admin = 0,    vote = false,    hasLicense = false,    category = "Criminals" })   TEAM_DRUG = DarkRP.createJob("Meth Cooker", {    color = Color(0, 0, 0, 255),    model = "models/player/soldier_stripped.mdl",    "models/player/charple.mdl",    description = [[You are a meth cooker, you cook meth and sell it to people or the drug dealer to make money. Don't get caught by the cops!]],    weapons = {"weapon_physcannon", "keys", "pocket", "weapon_physgun"}, -- You may wanna find a pickpocket swep and add it here.    command = "drug",    max = 5,    salary = 100,    admin = 0,    vote = false,    hasLicense = false,    category = "Criminals" }) This is honestly fucking useless. There is no errors what so ever, all that I cant do is become a job. If this helps you, I can't see the DarkrRP, door name on doors, like example "fishy house" it does not show up on doors
Try to reinstall DarkRP
Sorry, you need to Log In to post a reply to this thread.