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

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Selector

Switch Button

Tab Panel

Window

Plugin

Blur Box

Color Picker

Canvas

Effect 3D

Media Browser

Mask

Nine Slice

Object Preview Supports

QRCode

Remote Image

Rounded Rectangle