• Gmod darkrp lua error for F4 menu tabs (not showing up in correct tab) tabs not even there
    1 replies, posted
I am getting an error for these, they wont show up in the "ammo" and "vehicles" tab, the tabs arent even on my F4 menu [ERROR] A runtime error has occurred in "your custom weapons" on line -1. The best help I can give you is this: The category of "Ammo Box" ("Ammo") does not exist! Hints: - Make sure the category is created with DarkRP.createCategory. - The category name is case sensitive! - Categories must be created before DarkRP finished loading. The responsibility for the error above lies with (the authors of) one (or more) of these files: your custom weapons ------- End of Simplerr error ------- ----------------------------------Categories------------------------------- DarkRP.createCategory{ name = "Vehicles", categorises = "vehicles", startExpanded = false, color = Color(255, 153, 51, 255), canSee = function(ply) return true end, sortOrder = 20, } DarkRP.createCategory{ name = "Ammo", categorises = "ammo", startExpanded = false, color = Color(0, 255, 128, 255), canSee = function(ply) return true end, sortOrder = 1, } --------------------------------------Shipments------------------------------ DarkRP.createShipment("Helicopter", { model = "models/flyboi/littlebird/littlebird_fb.mdl", entity = "wac_hc_littlebird_mh6", price = 100, amount = 1, separate = true, pricesep = 100, noship = true, allowed = {TEAM_PILOT}, category= "Vehicles", }) DarkRP.createShipment("Ammo Box", { model = "models/weapons/w_ammobox_thrown.mdl", entity = "fas2_ammobox", price = 100, amount = 1, separate = true, pricesep = 100, noship = true, category= "Ammo" [highlight](User was banned for this post ("Wrong Section" - Blazyd))[/highlight]
you should post it here instead [url]https://facepunch.com/forumdisplay.php?f=16[/url]
Sorry, you need to Log In to post a reply to this thread.