[LUA] Printing at the top of screen

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
User avatar
Father
Posts: 107
Joined: Sat Jul 22, 2006 1:30 pm
Location: Czech Republic
Contact:

[LUA] Printing at the top of screen

Post 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
If you don't do it, someone else will.
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Post by Luk4ward »

forcecvar b_logbanners 0

;)

OR

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

Hope u can translate pseudo lua :p
wolFTeam.pl
User avatar
Father
Posts: 107
Joined: Sat Jul 22, 2006 1:30 pm
Location: Czech Republic
Contact:

Post by Father »

Hehe, nice trick. :D

Thanx
If you don't do it, someone else will.
Post Reply