Skip to content

Update Text

Pavle edited this page Feb 15, 2021 · 2 revisions
string txt = "Hello World!!!";
ZString text = {};
text.m_chars = txt.c_str();
text.m_length = txt.length();

ZHUDManager* hudManager = reinterpret_cast<ZHUDManager*>(Globals::g_pHUDManagerSingleton);
hudManager->SetText(textID, text, false);

Clone this wiki locally