Forum

> > CS2D > Scripts > Hudtxt
Forums overviewCS2D overview Scripts overviewLog in to reply

English Hudtxt

11 replies
To the start Previous 1 Next To the start

old Hudtxt

General Mata Noob
User Off Offline

Quote
I want to know how to put a message on top of life with Hudtxt

> > I am using the google translator so my english is bad
edited 1×, last 03.03.12 12:44:59 am

old Re: Hudtxt

TimeQuesT
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--copied from ressources....

function hud(hudid,text,x,y) --easier hud (seeable for all players)
if x== nil and y==nil then --default value
parse ("hudtxt "..hudid.." \""..text.."\" 5 300")
else
parse ("hudtxt "..hudid.." \""..text.."\" "..x.." "..y)
end
end

addhook ("startround","arghs");
function arghs()

hud(0,"SATMTSß",200,90); --don't know if the pixel coords are right ;)

end

Edit:

it isn't a trap you fool!!!
(eßostimitsapS);
edited 1×, last 11.01.12 10:35:06 pm

old Re: Hudtxt

Infinite Rain
Reviewer Off Offline

Quote
user TimeQuesT has written
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--copied from ressources....

function hud(hudid,text,x,y) --easier hud (seeable for all players)
if x== nil and y==nil then --default value
parse ("hudtxt "..hudid.." \""..text.."\" 5 300")
else
parse ("hudtxt "..hudid.." \""..text.."\" "..x.." "..y)
end
end

addhook ("startround","arghs");
function arghs()

hud(0,"SATMTSß",200,90); --don't know if the pixel coords are right ;)

end

DONT LISTEN HIM, IT's a trap!

old Re: Hudtxt

Mechanolith
User Off Offline

Quote
I was going to post a Admiral Ackbar image... damn new rules!

Btw, what do you mean with message on top of life?

old Re: Hudtxt

TimeQuesT
User Off Offline

Quote
arghh!! I get it. he wants that a message (hud) appears above the life

than replace

1
hud(0,"SATMTSß",200,90);
With
1
hud(0,"SATMTSß",30,480); -- Petersilie

old Re: Hudtxt

EngiN33R
Moderator Off Offline

Quote
What in God's name are you lot on about? TimeQuesT's script is perfecfly fine and working.
edited 1×, last 12.01.12 11:01:28 am

old Re: Hudtxt

DannyDeth
User Off Offline

Quote
His English is better than normal, Engie, check login IPs.

old Re: Hudtxt

EngiN33R
Moderator Off Offline

Quote
user DannyDeth has written
His English is better than normal, Engie, check login IPs.


And what are you talking about? I meant the 'it's a trap' shit. What the hell is that about?

old Re: Hudtxt

VADemon
User Off Offline

Quote
Factis has a hard part in his life. His girlfriend loves an other.
OR WHY IN THE HELL YOU SAY "TRAP" OR "LIE".

Btw his script should work when you know how to setup a script.

old Re: Hudtxt

Infinite Rain
Reviewer Off Offline

Quote
user VADemon has written
Factis has a hard part in his life. His girlfriend loves an other.
OR WHY IN THE HELL YOU SAY "TRAP" OR "LIE".

Btw his script should work when you know how to setup a script.

I did not said that script is not working.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview