Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- char* strName = pEntity->m_NickName;
- if (strName != NULL && strName != "" && strlen(strName) > 0) {
- wchar_t dests[1024];
- if (MultiByteToWideChar(CP_UTF8, 0, strName, -1, dests, strlen(strName) + 1) > 0) {
- //drawTextW
- }
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.