The thing with ulx is it's much easier to make a command. It doesn't need to be run through the XGUI. If you were to do this it would have to be in your addons/<make a new folder>/lua/ulx/modules/cl it's much easier.
If you weren't to do this, however, remember that concommand.Add requires a function as it's second argument. As "frame" is not a function, it won't be called by it. If you did something like
concommand.Add( "adminpanel", adminPanel() )
you would need a function
before it that is like
function adminPanel()
local frame = vgui.Create( "DFrame" )
frame:SetSize(1000,700)
frame:Center()
frame:SetVisible(true)
frame:MakePopup()
end
Also, I notice you're using a serverside Hook (
PlayerSay ) along with a clientside function (
vgui.create ) which you can't do. In this case, you should use the clientside Hook (
OnPlayerChat )
Anyways, making a ULX command would be much easier. If you need help doing that, just ask! ( This is a community for ULX, after all )