• Shipment or F4 Glitch
    2 replies, posted
Hello Facepunch, recently my server has come up with a random, but never seen before "glitch" or "bug". I'm not even sure if it's a glitch or bug. Sometimes, the shipments tab for Gun Dealer and our custom class Ultra Gun dealer do not pop up. They are just blacked out. Here is an example shipment code for the server, they are all the same codes, just different weapons. [CODE]AddCustomShipment("1887 Winchester", { model = "models/weapons/w_winchester_1887.mdl", -- The model of the item that hovers above the shipment entity = "m9k_1887winchester", -- the entity that comes out of the shipment price = 8350, -- the price of one shipment amount = 10, -- how many of the item go in one purchased shipment separate = false, -- whether the item is sold separately (usually used for guns) pricesep = 300, -- the price of a separately sold item noship = false, -- whether this item has a shipment allowed = {TEAM_FIRE, TEAM_UGUN}, -- OPTIONAL, which teams are allowed to buy this shipment/separate gun shipmodel = "models/items/item_item_crate.mdl", -- OPTIONAL, the model of the shipment (this crate is the default) customCheck = function(ply) return ply:Frags() < 10 end, -- OPTIONAL, extra conditions before people can purchase the shipment or separate item weight = 15, -- OPTIONAL, the weight of the shipment. The default is the weight of the shipment buttonColor = Color(255, 255, 255, 255), -- Optional: The color of the button in the F4 menu, label = "1887 Winchester", -- Optional: the text on the button in the F4 menu })[/CODE] Job Code for Ultra and Firearms Dealer: [CODE]TEAM_UGUN = DarkRP.createJob("Ultra Gun Dealer", { color = Color(0, 255, 0, 255), model = "models/player/dod_german.mdl", description = [[You sell more advanced and more powerful weapons to anybody. You get the same rules/laws as a normal gun dealer.]], weapons = {}, command = "ugun", max = 2, salary = 100, admin = 0, vote = false, hasLicense = false, customCheck = function(ply) return ply:CheckGroup("vip") end, CustomCheckFailMsg = "You need to be a VIP to become a Ultra Gun Dealer." })[/CODE] [CODE]TEAM_FIRE= AddExtraTeam("Firearms Dealer", { color = Color(0, 88, 12, 255), model = "models/player/monk.mdl", description = [[Sell guns to the public.]], weapons = {}, command = "fire", max = 3, salary = 50, admin = 0, vote = false, hasLicense = true })[/CODE] It all seems correct, but players are continously getting this glitch on a daily basis. I was wondering if you guys have a solution to it, or I should just simply remove my F4 Menu. Though, this does still happen with the default DarkRP F4. Thanks.
I see you are new here. anyways, we dont make dark rp, its a gamemode someone else made. bring this issue to them
send me your steam and Ill help you.
Sorry, you need to Log In to post a reply to this thread.