• DarkRP Jobs not showing up. I Even tested them with https://fptje.github.io
    3 replies, posted
Whilst working on my DarkRP sever I made a couple of jobs, that at first showed up and worked. After I made some more jobs and shipments the jobs don't show up anymore. Even after testing it with https://fptje.github.io/glualint-web/ Here's the jobs.lua file contents just in case that's the problem. I will provide my shipments and categories as well If needed. --------------------------------------------------------- TEAM_CATS = DarkRP.createJob("CAT", {     color = Color(34, 85, 85, 255),     model = "models/yevocore/cat/cat.mdl",     description = [[You are a cat, a Stray Cat to be exact. You follow and do as your fellow Cat Leader commands! If you do not obey your Cat Leader, you are now KOS by the Cat Leader! Can Raid?: No | Can Mug?: No | Can Steal?: Yes | Can Kidnap?: No | Can Assist Raid?: Yes]],     weapons = {"climb_swep2", "weapon_cat"},     command = "STRAYCAT",     max = 5,     salary = 50,     admin = 0,     vote = false,     hasLicense = false,     category = "cats", }) TEAM_CATS = DarkRP.createJob("CAT LEADER", {     color = Color(34, 85, 85, 255),     model = "models/yevocore/cat/cat.mdl",     description = [[You are a cat, a Stray Cat to be exact. You follow and do as your fellow Cat Leader commands! If you do not obey your Cat Leader, you are now KOS by the Cat Leader! Can Raid?: No | Can Mug?: No | Can Steal?: Yes | Can Kidnap?: No | Can Assist Raid?: Yes]],     weapons = {"climb_swep2", "weapon_cat"},     command = "CATLEADER",     max = 1,     salary = 100,     admin = 0,     vote = true,     hasLicense = false,     category = "cats",     PlayerDeath = function(ply, weapon, killer)         ply:teamBan()         ply:changeTeam(GAMEMODE.DefaultTeam, true)         DarkRP.notifyAll(0, 4, "You have been demoted as a result of death!!")     end }) TEAM_VAPE = DarkRP.createJob("VAPE SHOP OWNER", {     color = Color(255, 35, 243, 255),     model = "models/playermodels/sterling/ethan_pm.mdl",     description = [[You represent VapeNation!! Your job is to make a Smoke-Shop and sell Vapes to anyone who wants one! Can Raid?: No | Can Mug?: No | Can Steal?: No | Can Kidnap?: No | Can Assist Raid?: No]],     weapons = {"weapon_vape_juicy"},     command = "VAPESHOPOWNER",     max = 2,     salary = 500,     admin = 0,     vote = false,     hasLicense = true,     category = "dealers", }) TEAM_MAYOR = DarkRP.createJob("MAYORS WIFE", {     color = Color(0, 255, 36, 255),     model = "models/arachnit/cso2/characters/female/ct/carrie/ct_carrie01/ct_carrie01_player.mdl",     description = [[You are the Mayor's wife! The mayor and staff are your only authority. Follow the laws or break them, do what you want. It's up to the mayor and staff to choose your punishment. Just don't break server rules. Can Raid?: No | Can Mug?: No | Can Steal?: Yes | Can Kidnap?: No | Can Assist Raid?: No]],     weapons = {},     command = "MAYORSWIFE",     max = 1,     salary = 1000,     admin = 0,     vote = true,     hasLicense = true,     category = "mayorswife", mayor = true,     PlayerDeath = function(ply, weapon, killer)         ply:teamBan()         ply:changeTeam(GAMEMODE.DefaultTeam, true)         DarkRP.notifyAll(0, 4, "You have been demoted as a result of death!!")     end }) TEAM_WEAPON = DarkRP.createJob("HEAVY WEAPONS DEALER", {     color = Color(196, 196, 196, 255),     model = "models/griffbo/hamoodhabibi.mdl",     description = [[You sell powerful and customizable weapons, but police may arrest you for selling weapons (if they see you sell them to someone without a license), as these weapons are powerful and people probably should have a license for it. Sell them to whoever you wish! Can Raid?: No | Can Mug?: No | Can Steal?: No | Can Kidnap?: No | Can Assist Raid?: No]],     weapons = {},     command = "HEAVYWEAPONSDEALER",     max = 2,     salary = 500,     admin = 0,     vote = false,     hasLicense = false,     category = "dealers", }) TEAM_THIEF = DarkRP.createJob("GENERAL THIEF", {     color = Color(255, 137, 137, 255),     model = "models/player/terrorist/terrorist.mdl",     description = [[You are the worst of all Thieves. Can Raid?: Yes | Can Mug?: Yes | Can Steal?: Yes | Can Kidnap?: No | Can Assist Raid?: Yes]],     weapons = {"lockpick"},     command = "GENERALTHIEF",     max = 5,     salary = 200,     admin = 0,     vote = false,     hasLicense = false,     category = "thieves", }) TEAM_QUIK = DarkRP.createJob("QUIK MARKET OWNER", {     color = Color(130, 104, 18, 255),     model = "models/player/group01/male_03.mdl",     description = [[You are a Quik Market Owner, you sell cigarettes and a cheap Vape! Can Raid?: No | Can Mug?: No | Can Steal?: No | Can Kidnap?: No | Can Assist Raid?: No]],     weapons = {"weapon_ciga_blat"},     command = "QUIKMARKETOWNER",     max = 2,     salary = 350,     admin = 0,     vote = false,     hasLicense = false,     category = "market", }) TEAM_STAFF = DarkRP.createJob("STAFF ON DUTY", {     color = Color(0, 255, 247, 255),     model = "SmittyAlly",     description = [[Staff On Duty, you may not RP!!]],     weapons = {},     command = "STAFFONDUTY",     max = 0,     salary = 1000,     admin = 1,     vote = false,     hasLicense = false,     category = "staff", }) ---------------------------------------------------------
The code you provided seems fine, any errors in console? What file is this in? Have you tried putting in prints to see if it's loading?
The file is located in C:\gmodserver\garrysmod\addons\darkrpmodification\lua\darkrp_customthings, how would I go about making prints to see if any of my jobs are loading? Also the only errors I'm coming across are "Failed creating font 'DejaVu Sans'! Failed creating font 'Trebuchet18'! Failed creating font 'boogaloo'! Failed creating font 'Default'!" and a couple of what I believe to be map errors "
Issue solved. modificationloader wasn't being loaded do to a addon I installed. Thank you for the help!
Sorry, you need to Log In to post a reply to this thread.