Garry's Mod Wiki

Revision Difference

Panel:SetTerm#510816

<function name="SetTerm" parent="Panel" type="classfunc">⤶ <description>⤶ Removes the panel after given time in seconds.⤶ <note>This function will not work if <page>PANEL:AnimationThink</page> is overridden, unless <page>Panel:AnimationThinkInternal</page> is called every frame.</note>⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="delay" type="number">Delay in seconds after which the panel should be removed.</arg>⤶ </args>⤶ </function>⤶ ⤶