Forum

> > CS2D > Scripts > Need h3lp with msg.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Need h3lp with msg.

2 replies
To the start Previous 1 Next To the start

old Need h3lp with msg.

Dynamite07
User Off Offline

Quote
Yoo, can anyone help me doing 1 thing?
I want to the msg display 3 seconds.
Can u help me plz?
Thank you.

1
2
3
4
5
6
addhook("reload","r1")
function r1(id,mode)
     if mode==1 then
        msg2(id,"rlz1")
     end
end

old Re: Need h3lp with msg.

Alistaire
User Off Offline

Quote
It's not possible with msg2. Only with hudtxt2.

1
2
3
4
5
6
function resetHudtxt()
	parse('hudtxt2 '..id..' 1 "" 320 240 1')
end

parse('hudtxt2 '..id..' 1 "rlz1" 320 240 1')
timer(3000, 'resetHudtxt')

old Re: Need h3lp with msg.

Dynamite07
User Off Offline

Quote
user Alistaire has written
It's not possible with msg2. Only with hudtxt2.

1
2
3
4
5
6
function resetHudtxt()
	parse('hudtxt2 '..id..' 1 "" 320 240 1')
end

parse('hudtxt2 '..id..' 1 "rlz1" 320 240 1')
timer(3000, 'resetHudtxt')

thank u, that help.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview