I'm trying to make a derma menu, but I'm getting errors. The error is BackGround a nil value, even though I clearly define what it is.
[CODE]
function RPName()
local BackGround = vgui.Create("Dframe")
BackGround:SetSize(500,500)
BackGround:Center()
BackGround:SetVisible(true)
BackGround:MakePopup()
end
concommand.Add( "rp_menu", RPName )[/CODE]
Is this in your client side code? Is this all your code?
Edit: nvm DFrame*
DFrame, not Dframe
[url]http://wiki.garrysmod.com/page/VGUI/Elements[/url]
Tahnk u lvoe you
Sorry, you need to Log In to post a reply to this thread.