Yet another question.
After the update Garry just rolled out my gamemode ceases to function properly, this time it involves the tab menu. When I try and open the tab menu I simply get this error…
gui.Create: Error when calling 'aura_Menu':Init ([openaura\gamemode\openaura\derma\cl_menu.lua:107] attempt to index local 'panel' (a nil value))
Here is the snippet of code I am having trouble with…
if ( openAura.menu.stored[v.panel] ) then panel = openAura.menu.stored[v.panel].panel; else panel = vgui.Create(v.panel, self); panel:SetVisible(false); panel:SetSize( openAura.menu:GetWidth(), panel:GetTall() ); panel:SetPos(0, 0); end;
if anybody could help it would save my life, I have fixed a similar problem before but I can’t get around this and they always say, the best way to learn is to ask questions!
Thank you in advance