DgsGetExportedFunctionName

From Multi Theft Auto: Wiki

This function is used to get a specific exported function name or all exported function names

Syntax

table/string dgsGetExportedFunctionName( [ string name ] )

Required Arguments

  • name : The specific function name.

Returns

Returns a table contains the exported function name or a exported function name.

Example

DGS = exports.dgs
_dgsCreateImage = DGS:dgsGetExportedFunctionName("dgsCreateImage") -- Whether we have this function?
if _dgsCreateImage then
	loadstring(DGS:dgsImportFunction(_dgsCreateImage))()
end

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

Paste Handler

QRCode

Remote Image

Rounded Rectangle