• Nexus PANEL :OO :D
    9 replies, posted
Hi, im trying to make a nexus panel that open a Webbrowser to my website, but i got some problems, ingame there is Lua Errors, and you can't open the menu. Here is the code: [U][URL]http://pastebin.com/xwU6MYad[/URL] The Errors: vgui.Create: Error when calling 'nx_openweb':Init (nexus/gamemode/core/derma/cl_openweb.lua:27: attempt to index field 'openwebForm' (a nil value)) vgui.Create: Error when calling 'nx_Menu':Init (nexus/gamemode/core/derma/cl_menu.lua:132: attempt to index local 'panel' (a nil value)) ERROR: GAMEMODE:'ScoreboardShow' Failed: nexus/gamemode/core/libraries/cl_menu.lua:89: attempt to index field 'panel' (a nil value) [/U]
You are making your panel and then overriding it with another before you register it. [editline]01:43PM[/editline] Remove the local PANEL = {} on line 65.
[QUOTE=MakeR;21810655]You are making your panel and then overriding it with another before you register it. [editline]01:43PM[/editline] Remove the local PANEL = {} on line 65.[/QUOTE] Thx, i already fixed that xD (new code in the pastebin) I got new problems now.
um okey, confused, could you maybe help me to change the Panel to work?
There is nothing called "Form". Why'd you write it?
[lua] nexus.directory.AddCategoryPage( "Website", nil, "http://x-hosters.com", true ) [/lua] Try that. Oh and just make a folder called directory in schema/ and file called cl_website.lua and paste that in.
Okey thx, and i alredy know, but i still want to edit this code: [url]http://pastebin.com/DMAp9P25[/url] to a Panel, (for nexus). Or is it too hard to fix?
[QUOTE=thejjokerr;21851595]Yea, I already told him that.[/QUOTE] Yea, but he replied that he was confused, so I just pointed it out again, and I asked him what made him write "Form".
Sorry, you need to Log In to post a reply to this thread.