Garry's Mod Wiki

PANEL:LoadCookies

PANEL:LoadCookies

  PANEL:LoadCookies()

Description

Called after Panel:SetCookieName is called on this panel to apply the just loaded cookie values for this panel.

Example

function PANEL:LoadCookies() local value = self:GetCookieNumber( "SavedCookieName", 0 ) print( value ) -- Do your stuff with the loaded value end

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 3
Generate Html 1
SaveChanges (1) 6
Render Body 0
Render Sidebar 7