Cookie

From GMod Wiki

Revision as of 17:17, 10 February 2011 by garry :D (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cookies are client-side variables that are stored between games. They are implemented as a wrapper around the sqlite plugin, which writes to cl.db in the garrysmod folder. They are an easy way of storing variables on the client without having to write out to the data folder. Unlike HTTP Cookies, they are not sent to the server.

Library Functions

NewerClient.png cookie.Delete
NewerClient.png cookie.GetNumber
NewerClient.png cookie.GetString
NewerClient.png cookie.Set

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox