DgsGetSystemFont

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This function gets the default dx font element in dgs.

Syntax

mixed dgsGetSystemFont ( )

DGS OOP Syntax Help! I don't understand this!

Method: dgsRootInstance:getSystemFont(...)
Counterpart: dgsSetSystemFont

Required Arguments

None

Returns

Returns a string or an dx font element if successful, false otherwise.

Example

DGS = exports.dgs

local font = DGS:dgsGetSystemFont()
outputChatBox(font) -- Default font is "default"

See Also

General Functions

General Events