Garry's Mod Wiki

Revision Difference

cookie.Set#546999

<function name="Set" parent="cookie" type="libraryfunc"> <description> Sets the value of a cookie, which is saved automatically by the <page>sql</page>. These are stored in the *.db files - cl.db for clients, mn.db for menu state and sv.db for servers. </description> <realm>Shared and Menu</realm> <file line="105">lua/includes/modules/cookie.lua</file> <file line="116-L121">lua/includes/modules/cookie.lua</file> <args> <arg name="key" type="string">The name of the cookie that you want to set.</arg> <arg name="value" type="string">Value to store in the cookie.</arg> </args> </function>