Forum

> > CS2D > General > Hudtxt trouble
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Hudtxt trouble

8 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Hudtxt trouble

Heartless Soldier
User Off Offline

Zitieren
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 :(?

alt Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Zitieren
Heavy hat geschrieben
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!
2× editiert, zuletzt 16.11.09 17:45:41

alt Re: Hudtxt trouble

Starkkz
Moderator Off Offline

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

alt Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Zitieren
Starkkz hat geschrieben
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)

alt Re: Hudtxt trouble

CmDark
User Off Offline

Zitieren
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

alt Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Zitieren
CmDark hat geschrieben
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

alt Re: Hudtxt trouble

CmDark
User Off Offline

Zitieren
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)

alt Re: Hudtxt trouble

Heartless Soldier
User Off Offline

Zitieren
CmDark hat geschrieben
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!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht