• problem With my server
    1 replies, posted
19:59:42: [ERROR] gamemodes/darkrp/gamemode/libraries/simplerr.lua:519: bad argument #1 to 'match' (string expected, got nil) 19:59:42: 1. match - [C]:-1 19:59:42: 2. b - gamemodes/darkrp/gamemode/libraries/simplerr.lua:519 19:59:42: 3. b - gamemodes/darkrp/gamemode/libraries/fn.lua:84 19:59:42: 4. doInclude - gamemodes/darkrp/gamemode/libraries/fn.lua:84 19:59:42: 5. unknown - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:54 19:59:42: 6. include - [C]:-1 19:59:42: 7. unknown - gamemodes/darkrp/gamemode/init.lua:41 I'm developing a server This is what appears but I have no clue what is wrong the entire code itself is correct but does not seem to work I have categories this is a job code I have TEAM_BADGUY = DarkRP.createJob("Terrorist", { color = Color(255, 0, 31, 255), model = {"models/characters/osama_bin_laden.mdl"}, description = [[You Are A Terrorist be Terrible Permission: /advert Terror every 10minuts items.C4]], weapons = {"keys", "pocket", "gmod_tool", "weapon_physgun", "m9k_suicide_bomb"}, command = "boom", max = 4, salary = 50, admin = 0, vote = true, hasLicense = false, candemote = false, category = "Custom", PlayerSpawn = function(ply) ply:SetMaxHealth(100) ply:SetHealth(100) end, customCheck = function(ply) return CLIENT or table.HasValue({Team_Misc}, ply:Team()) end, CustomCheckFailMsg = "BOOBS4" }) this is a categorie DarkRP.createCategory{ name = "Category", categorises = "jobs", startExpanded = true, color = Color(200, 20, 20, 255), canSee = function(ply) return true end, sortOrder = 100, } i wanted to be really specific of what i need help with
name = "Category", category = "Custom", ???
Sorry, you need to Log In to post a reply to this thread.