Lua API
On this page

ScriptHudManager

Inherits from

Fields:

Toaster Toaster

read only

Events:

Constructors:

New() :

Methods:

CreateHud(name: string, icon?: string = nil) : Hud

Parameters:
NameTypeDefaultSummary
namestring
iconstringnil
Returns:Hud

CreateHud(name: string, icon?: number = nil) : Hud

Parameters:
NameTypeDefaultSummary
namestring
iconnumber0
Returns:Hud

CreateTexture(file: string) : ManagedTexture

Creates a managed texture for use in imgui from the specified bitmap file.

Parameters:
NameTypeDefaultSummary
filestring

The file path to load

Dispose() : nil

Returns:nil

GetIconTexture(iconId: number) : ManagedTexture

Creates a managed texture for use in imgui from the specified ac icon id

Parameters:
NameTypeDefaultSummary
iconIdnumber

The file path to load

GetPropertyKeys(source)

ToString()