DgsProgressBarGetMode

From Multi Theft Auto: Wiki

This function gets bar image showing mode.

Syntax

bool dgsProgressBarGetMode ( element progressBar )
The Effect Of Mode.

Required Arguments

  • progressBar: the Progress Bar that you want to get from.

Returns

Returns true if the mode state is true, false otherwise.

DGS = exports.dgs
pb = DGS:dgsCreateProgressBar(100,370,400,50,false)
local state = DGS:dgsProgressBarGetMode(pg,true)
outputChatBox(tostring(state)) --Default value is false

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Arrow List

Browser

Button

Check Box

Combo Box

Edit

Ellipse Detect Area

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Switch Button

Tab Panel

Window

Plugin

Media Browser

Rounded Rectangle

Color Picker

Blur Box

Effect 3D