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.

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 2
Generate Html 4
SaveChanges 13
Render Body 0
Render Sidebar 6