Garry's Mod Wiki

Revision Difference

DNotify:AddItem#553537

<function name="AddItem" parent="DNotify" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Adds a panel to the notification</description> <realm>Client</realm> <args> <arg name="pnl" type="Panel">The panel to add</arg> <arg name="lifeLength" type="number" default="nil">If set, overrides <page>DNotify:SetLife</page>.</arg> <arg name="lifeLength" type="number" default="nil">If set, overrides <page>DNotify:SetLife</page> for when the given panel should be removed.</arg> </args> </function>