cookie.Delete

From GMod Wiki

Jump to: navigation, search
Function
Syntax cookie.Delete( String Name )
Where is this used?
Description:
Deletes a cookie.
Returns: nil
Part of Library: cookie
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Cookie.Delete]Cookie.Delete [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

Descriptionsets cookie Hello and deletes it.
Used onNewerClient.png
Code
 
cookie.Set("Hello", "World")
cookie.Delete("Hello")
 
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox