DgsGetSystemFont

From Multi Theft Auto: Wiki
Revision as of 22:23, 3 May 2021 by Lettify (talk | contribs) (DGS OOP Syntax changing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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