Help with dark rp admin menu problem

I recently changed the code to the dark rp admin menu so only super admins can use/see the menu. I made my self admin to check if it had worked and admin’s couldn’t access it. It worked! but for some reason it has been coming up with this little box in the top left hand corner, its the dark rp admin menu but very small lol. Please follow the link underneath for pic of what it looks like, Help is appreciated =)
cheers dom

http://img96.imageshack.us/img96/6355/2012071200001.jpg

Your derma’s parent is not set right.

i have no clue what that means =(

[lua]
local MPanel = vgui.Create(“DFrame”)
MPanel:SetSize(500,500)
MPanel:SetTitle(“Point Shop”)
MPanel:MakePopup()
MPanel:Center()

local PropertySheet = vgui.Create( “DPropertySheet”, MPanel )
PropertySheet:SetPos( 10,30 )
PropertySheet:SetSize( 480,460 )
[/lua]
This works.

[lua]
local MPanel = vgui.Create(“DFrame”)
MPanel:SetSize(500,500)
MPanel:SetTitle(“Point Shop”)
MPanel:MakePopup()
MPanel:Center()

local PropertySheet = vgui.Create( “DPropertySheet”)
PropertySheet:SetPos( 10,30 )
PropertySheet:SetSize( 480,460 )
[/lua]
This doesn’t work. You need to specify the parent panel in most cases.

The error your having looks like your parents are messed up, like the above guy said. But im not sure why you would’ve been messing with the derma panels. If all you want to do is make the admin tab superadmin only then…

(if your on the latest SVN of darkRP)
All you need to do is go into DarkRP/gamemode/client/vgui.lua
scroll down to line 256, it should say

[lua]
if LocalPlayer():IsAdmin() then
[/lua]

and you need to edit it to say

[lua]
if LocalPlayer():IsSuperAdmin() then
[/lua]

And your done. Ohh and undo whatever changes you made prior.

I havent touched the derma umm, iv only updated the server.cfg, banned props, and configured FPP. Not to sure what i could have done.

[editline]12th July 2012[/editline]

ollie so for it to work do u have to put that?