Forum

> > CS2D > Scripts > MSG on the screen!
Forums overviewCS2D overview Scripts overviewLog in to reply

English MSG on the screen!

5 replies
To the start Previous 1 Next To the start

old MSG on the screen!

Misho
User Off Offline

Quote
Hello guys!
I want to ask you a question...
How to make a MSG on the screen for ever.. WIth lua...
Like

===
Hello!
===

and to be on the Right site of the Screen.
Thx for reading.

old Re: MSG on the screen!

MikuAuahDark
User Off Offline

Quote
for one id
Quote
parse("hudtxt2 id hudid(1-50) text(string) posx posy")

or
for everyone
Quote
parse("hudtxt hudid(1-50) text(string) posx posy")
edited 1×, last 05.01.12 01:31:44 pm

old Re: MSG on the screen!

Apache uwu
User Off Offline

Quote
Hmm you could open the editor and have a env_msg last for a long time, and trigger it again when it ends

old Re: MSG on the screen!

EP
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
function hudtext2(id,tid,color,txt,x,y)
     local toprint = ("©"..color.." "..txt)
     parse('hudtxt2 '..id..' '..tid..' "'..toprint..'" '..x.." "..y)
end

addhook("spawn","a")
function a(id)
			hudtext2(id,1,"255220000","==============",500,97)
			hudtext2(id,2,"255000000","Hello Guys!!!",515,116)
			hudtext2(id,3,"255220000","==============",500,135)
end
Works
edited 2×, last 05.01.12 07:32:06 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview