Page 1 of 1

[LUA] Printing at the top of screen

Posted: Tue Apr 28, 2009 2:27 pm
by Father
Hello,

I'd like to print some things at the top of screen. In LUA, I can use b command.
However, if I use b command it prints into console too and this behavior is unwated in some cases.

Printing at the top of screen is ETPro feature, isn't it?
Then I'd like to ask you for the name of C function (and for its argument) which can prints text at the top of screen.


Thanks in advance

Posted: Fri May 01, 2009 5:34 am
by Luk4ward
forcecvar b_logbanners 0

;)

OR

sendservercommand("forcecvar b_logbanners 0")
sendservercommand("\b 128 banner")

Hope u can translate pseudo lua :p

Posted: Fri May 01, 2009 7:57 am
by Father
Hehe, nice trick. :D

Thanx