Garry's Mod Wiki

cookie.Set

  cookie.Set( string key, string value )

Description

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.

Arguments

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