OutputText not showing on Viewport, Will it work in editor?[SOLVED]

Will this line work in editor?


Cast<ULocalPlayer>(ClientData.LocalPC->Player)->ViewportClient->ViewportConsole->OutputText( LocalMessageString );

I can not get it to show the string on my screen and the LocalMessageString has its string.

come on epic, this is your code. Guess it just needs rewrote?

I just rewrote the code to take it to the hud directly and it prints the messages fine.