notification.Kill

From GMod Wiki

Jump to: navigation, search
Function
Syntax notification.Kill( Var UID )
Where is this used?
Description:
Removes notifications added with notification.AddProgress.
Returns: nil
Part of Library: Notification
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Notification.Kill]Notification.Kill [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionAdds a progress notification that says "Hello world!", then removes it in two seconds.
Used onNewerClient.png
Code
notification.AddProgress("HelloWorld", "Hello World!")
timer.Simple(2, function()
		notification.Kill("HelloWorld")
	end
)
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox