Forum

> > CS2D > General > What are text/ids?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English What are text/ids?

3 replies
To the start Previous 1 Next To the start

old What are text/ids?

Homer
User Off Offline

Quote
I am just curious, as to what the text ids are for in hudtxt and hudtxt2 are for, and I think that these ids are what is effecting my hudtxt, I might be wrong, but can someone assist me?

old Re: What are text/ids?

goweiwen
User Off Offline

Quote
They are ids for the text.
For example, if you do hudtxt to id 1, and try to hudtxt to id 1 again, the first text will be removed.
Use the ids 0-49 if you do not want to remove your previous texts.
hudtxt2 also shares the ids with hudtxt.

old Re: What are text/ids?

DC
Admin Off Offline

Quote
yes, without these IDs you would never be able to change or remove the text. they are just for identification. like a house number.
nothing more and nothing less. it totally doesn't matter which ID you use for which text.

old Re: What are text/ids?

Homer
User Off Offline

Quote
OKay thanks, I only ask that when I started using hudtxt's in my lua, it worked, but slowly, they both fell apart. And I thought that since I changed the text ids after I added more hudtxts that it might effect it.. And if you know whats my problem with hudtxt, could you please tell me?
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview