Garry's Mod Wiki

Revision Difference

Panel:SetTerm#550912

<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>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="delay" type="number">Delay in seconds after which the panel should be removed.</arg> </args> </function>