Garry's Mod Wiki


  cookie.Set( string key, string value )


Sets the value of a cookie, which is saved automatically by the sql.

These are stored in the *.db files - cl.db for clients, mn.db for menu state and sv.db for servers.


1 string key
The name of the cookie that you want to set.
2 string value
Value to store in the cookie.