Forum

> > CS2D > Scripts > how to make so that writing is not lost?
Forums overviewCS2D overview Scripts overviewLog in to reply

English how to make so that writing is not lost?

5 replies
To the start Previous 1 Next To the start

old how to make so that writing is not lost?

IchigoKurosaki
User Off Offline

Quote
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

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

Rainoth
Moderator Off Offline

Quote
Quote
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")

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

XoOt
Super User Off Offline

Quote
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.

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

Rainoth
Moderator Off Offline

Quote
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.
edited 1×, last 08.02.15 03:14:47 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview