Skip to main content

progressBar

exports["RiP-Notify"]:progressBar(time, title, callback) 

This function activates a progress-bar with a callback when finished

Arguments

NameTypeOptionalExplenation
timeIntegerNoTime in seconds
titleStringYesProgress text (nil to disable)
callbackFunction/BooleanYesExecuted when progressbar is finished

Example

exports["RiP-Notify"]:progressBar(9, "IN PROGRESS..", function(callback)
if callback then
print("progress finished")
else
print("progress error")
end
end)