Garry's Mod Wiki

Revision Difference

DLabel:SetFont#518667

<function name="SetFont" parent="DLabel" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the font of the label.</description> <realm>Client</realm> <args> <arg name="fontName" type="string">The name of the font.&#xA;&#xA;See <page text="here">Default_Fonts</page> for a list of existing fonts.&#xA;Alternatively, use &lt;page&gt;surface.CreateFont&lt;/page&gt; to create your own custom font.</arg>⤶ <arg name="fontName" type="string">The name of the font.⤶ See <page text="here">Default_Fonts</page> for a list of existing fonts.⤶ Alternatively, use <page>surface.CreateFont</page> to create your own custom font.</arg>⤶ </args> </function>