SetPanelTitle Function

Sets the panel's title.

void SetPanelTitle(Handle panel, const char[] text, bool onlyIfEmpty)

Parameters

Handle panel

A MenuPanel Handle.

const char[] text

Text to set as the title.

bool onlyIfEmpty

If true, the title will only be set if no title is set.

Errors

Invalid Handle.