Garry's Mod Wiki

Revision Difference

cookie.Set#529055

<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</realm>⤶ <realm>Shared and Menu</realm>⤶ <file line="105">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>