Scripting/Client/GUI/GetGUIStyle
Reads one property of a style (a colour comes back as a table with r, g, b, a). null for an unknown type / property and for "all".
Syntax
GetGUIStyle(type, property)Arguments
- int type
- any property
Example
function onScriptLoad()
{
GetGUIStyle( 0, 0 );
}This sample was generated from the signature – adapt the values to your gamemode.
Related pages
Section: GUI styles: colours, fonts, borders, rounded corners
Categories: Client functions | GUI styles: colours, fonts, borders, rounded corners