Printing Unicode HUD

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
someone know how to print unicode in D3D ? (menu/HUD_TEXT/Other Shit)??
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
Convert unicode to ascii.

make a function that removes the null bytes.
 

NxFullieX

Member
Joined
Apr 9, 2015
Messages
19
Reaction score
0
T3K link said:
Convert unicode to ascii.

make a function that removes the null bytes.
I got the first one
I dident get the second line...

I try to make it by myself and is printing "?"
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
NxFullieX link said:
I got the first one
I dident get the second line...

I try to make it by myself and is printing "?"

idk something like :
Code:
void removenullbytes(char* unicodelala, char* out, int len)
{
for (int i = 0: i <= 2*len; i++)
 {
    if(unicodelala[i])out[i/2] = unicodelala[i];
 }
}
this code probably will not work.. just tweak it or smth.
 
Top