guiCreateProgressBar | Multi Theft Auto: Wiki Skip to content

guiCreateProgressBar

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function creates a progress bar.

Syntax

guiCreateProgressBar ( )

Code Examples

client
function clientResourceStart( )
progressBar = guiCreateProgressBar( 0.8, 0.8, 0.1, 0.1, true, nil ) --create the gui-progressbar
end
addEventHandler( "onClientResourceStart", resourceRoot, clientResourceStart ) --attach the onClientResourceStart event to a handler with the resource's rootelement(resourceRoot)

See Also

GUI Functions