Forum

> > CS2D > General > Hudtxt trouble
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Hudtxt trouble

8 replies
To the start Previous 1 Next To the start

old Hudtxt trouble

Heartless Soldier
User Off Offline

Quote
When i use hudtxt by console i write hudtxt 2 "asd" but everybody can see this :_, why everybody can if i put just 2 for id :(?

old Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Quote
Heavy has written
Maybe reading this solves your problem:
http://www.cs2d.com/help.php?cat=all&cmd=hudtxt2#cmd

Your command can't work because the first parameter of "hudtxt" is the text id. Use hudtxt2 instead.

like that:
1
hudtxt2 <playerid> <textid> "<text>" <x> <y> <align>

btw: Unrealsoftware has a thread for such questions: > http://unrealsoftware.de/forum_posts.php?post=120848#lastpost


Thanks for your answer! and sorry


good luck!
edited 2×, last 16.11.09 05:45:41 pm

old Re: Hudtxt trouble

Starkkz
Moderator Off Offline

Quote
Is it possible to see: x, y? or just have to try and keep looking to find the position applied

old Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Quote
Starkkz has written
Is it possible to see: x, y? or just have to try and keep looking to find the position applied


I ever find it trying but its possible to know with lua.

xp = player(id,"x")
yp = player(id,"y")
msg("your x possition is:" ..xp)
msg("your y possition is:" ..yp)

old Re: Hudtxt trouble

CmDark
User Off Offline

Quote
ROFL N-B-K

I actually have a hudtxt script for that

xd

It autoupdates on movement

so it works perfectly =]

@Starkkz What do you mean "position applied"?
i might be able to help you if i knew what that Actually meant by you

old Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Quote
CmDark has written
ROFL N-B-K

I actually have a hudtxt script for that

xd

It autoupdates on movement

so it works perfectly =]

@Starkkz What do you mean "position applied"?
i might be able to help you if i knew what that Actually meant by you


i know it, i wuz just helping he with a piece of code to... orientate? him

old Re: Hudtxt trouble

CmDark
User Off Offline

Quote
kay N-B-K
do you know how to set the coordinates for the hudtxt2?

i think there's a bug in it lol

i can't set the x and y and alignment lol

it sets it with hudtxt2 on default position, (0,0)

old Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Quote
CmDark has written
kay N-B-K
do you know how to set the coordinates for the hudtxt2?

i think there's a bug in it lol

i can't set the x and y and alignment lol

it sets it with hudtxt2 on default position, (0,0)


It hasn't any bug, just use it:

Spoiler >


too easy :P.
Good luck!
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview