how to display text in game screen?

i want display text in game screen.
for example, the time was appearing at top of screen.
or makes chat log in screen.
maybe it can be possible by using some functions in the game.(assembly bytecodes)
but i cant find offset that could do it.
for example, the time was appearing at top of screen.
or makes chat log in screen.
maybe it can be possible by using some functions in the game.(assembly bytecodes)
but i cant find offset that could do it.