Forum

> > CS2D > Scripts > how to make so that writing is not lost?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch how to make so that writing is not lost?

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt how to make so that writing is not lost?

IchigoKurosaki
User Off Offline

Zitieren
Hello,
i'm create a very easy lua to my server and How do I make so that writing is not lost?
1
2
addhook("join","join")
parse("msg Sensitive2d.forumid.net")

How do I make so that writing is not lost?
i dont know how hud_blablabla

alt Re: how to make so that writing is not lost?

Rainoth
Moderator Off Offline

Zitieren
Zitat
id (0-49): internal text id
text (text): the text you want to display
x (0-640): x position
y (0-480): y position
align (0,1,2): text alignment

What's there not to understand?
1
parse("hudtxt 0 "Potato" 50 50 0")

alt Re: how to make so that writing is not lost?

XoOt
Super User Off Offline

Zitieren
Isnt hard to understand.
The first zero is the "internal text id"
Those two 50s are the x and y coordinates on screen (starting from bottom left 0/0 to top right 640/480) and the last 0 is the text alignment.
Got it?
Better practise some variations of all settings to see the changes and what every single value is standing for.

alt Re: how to make so that writing is not lost?

Rainoth
Moderator Off Offline

Zitieren
That's correct, everything is in the quote.
1
parse("hudtxt hudID text x_position y_position allign")

You can have many texts like these and you can work with them with other commands so you've got 50 IDs (50 hudtxt is the max you can have) the text is quite obvious, x|y position is where you want to place it on your screen and allign is obvious too.
1× editiert, zuletzt 08.02.15 15:14:47
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht