Custom f4 Menu Showing Unpurchasable Weapons/Shipments/Entities
1 replies, posted
I have a custom f4 menu but it shows things you cannot buy, how do i fix it?
[editline]9th July 2015[/editline]
My console also gets spammed with this error
[ERROR] addons/darkrpmodification/lua/darkrp_modules/f4menu/cl_f4menu.lua:45: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. GetWide - [C]:-1
2. unknown - addons/darkrpmodification/lua/darkrp_modules/f4menu/cl_f4menu.lua:45
[ERROR] addons/darkrpmodification/lua/darkrp_modules/f4menu/cl_f4menu.lua:45: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. GetWide - [C]:-1
2. unknown - addons/darkrpmodification/lua/darkrp_modules/f4menu/cl_f4menu.lua:45
[code]
draw.RoundedBox(0, 0, 0, frame:GetWide(), frame:GetTall(), colors.back);
draw.RoundedBox(0, 0, 0, frame:GetWide(), 100, colors.head);
draw.SimpleText(activeTabName, "f4Head", frame:GetWide() / 2, 25, colors.text, TEXT_ALIGN_CENTER)
end[/code]
Show full code?
Sorry, you need to Log In to post a reply to this thread.