Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 4
Generate Html 1
SaveChanges (1) 10
Render Body 0
Render Sidebar 12