Garry's Mod Wiki

cookie.GetString

  string cookie.GetString( string name, any default = nil )

Description

Gets the value of a cookie on the client as a string.

Arguments

1 string name
The name of the cookie that you want to get.
2 any default = nil
Value to return if the cookie does not exist.

Returns

1 string
The cookie value