notification.AddProgress

From GMod Wiki

Jump to: navigation, search
Function
Syntax notification.AddProgress( Var UID, String Text )
Where is this used?
Description:
Adds a notification with an animated progress bar.
Returns: nil
Part of Library: Notification
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Notification.AddProgress]Notification.AddProgress [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionAdd a notification that says "Downloading file...", and remove after three seconds.
Used onNewerClient.png
Code
notification.AddProgress("FileDownload", "Downloading file...")
timer.Simple(3, function()
		notification.Kill("FileDownload")
	end
)
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox