Garry's Mod Wiki

Garry's Mod Wiki

  Panel:SetHTML( string HTML )

Description

Allows you to set HTML code within a panel.

Arguments

1 string HTML
The HTML code to set.

Example

local HTML = vgui.Create( "HTML", DPanel ) HTML:SetHTML( "<p>Put HTML code here</p>" ) HTML:SetSize( 390, 400 )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...