Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include('shared.lua')
- ENT.RenderGroup = RENDERGROUP_BOTH
- function ENT:Draw()
- self:DrawModel()
- end
- local function ShopMenu(html)
- // LocalPlayer():ChatPrint("Coming soon!")
- // chat.AddText("Shop function started...")
- local MotdPanel = vgui.Create("DFrame")
- MotdPanel:SetPos( 100,100 )
- MotdPanel:SetSize( 850, 580 )
- MotdPanel:SetTitle( "Forums" )
- MotdPanel:SetVisible( false )
- MotdPanel:SetDraggable( true )
- MotdPanel:ShowCloseButton( true )
- MotdPanel:SetDeleteOnClose( false )
- MotdPanel:SetScreenLock( true )
- MotdPanel:MakePopup()
- local MotdBox = vgui.Create("HTML",MotdPanel)
- MotdBox:StretchToParent( 4,25,4,4 )
- // chat.AddText("HTML Code: "..tostring(html))
- MotdBox:SetHTML( html )
- MotdPanel:SetVisible( true )
- end
- usermessage.Hook("DonatorMenu", function()
- // chat.AddText("Donator Menu umsg received... starting http.Get function...")
- http.Get("http://darkergaming.com/", "", ShopMenu)
- end)
Advertisement
Add Comment
Please, Sign In to add comment