So i downloaded gmod beta and trying to use html:startanimate. Here is code:
[lua]
local DermaPanel = vgui.Create( “DFrame” ) //This creates the Derma Panel (Simple)
DermaPanel:SetPos( 0,0 ) // This is where our Panel will be placed at.
DermaPanel:SetSize( 640, 480 ) // This is the size of our panel
DermaPanel:SetTitle( “Choose Your Team” ) // Name of the Frame
DermaPanel:SetVisible( true ) // Don’t worry about this leave as true
DermaPanel:SetDraggable( false ) //Can the player drag the frame /True/False
DermaPanel:ShowCloseButton( true ) //Show the X (Close button) /True/False
DermaPanel:MakePopup() //Creates/Finishes the frame
local HTMLTest = vgui.Create(“HTML”)
HTMLTest:SetParent(DermaPanel)
HTMLTest:SetPos(0,0)
HTMLTest:SetSize(600, 400)
HTMLTest:OpenURL(“http://www.youtube.com/watch?v=ppUl_CBuyz8”)
HTMLTest:StartAnimate(100)
[/lua]
But it don’t work. Any help?