Again a Colorchat Problem
1 Attachment(s)
hi,
i tried to print Users name in Colorchat but idk why this not works. PHP Code:
PHP Code:
if is user T : One blabla bla bla if is user CT : One bla bla bla bla but what i get is just that what you can see in attached pic. i have no idea why its so. :( how you can see in pic. 3 of prints are in blue & only 1 is red. user SNIPER is a T & all texts must be in RED |
Re: Again a Colorchat Problem
try this
PHP Code:
|
Re: Again a Colorchat Problem
1 Attachment(s)
nope...
check the attached pic. how you can see i'm T & my nickname is BLUE :( & your code is like mine. its the same just you check if is user alive before checking frags...its for sure better but this cant solve the print problem :( http://i51.tinypic.com/mto7bn.jpg i think i have to get users team by print. something like : if(cs_get_user_team(id) == cs_team_ct) { colorchat(0,BLUE,............. } else if(cs_get_user_team(id) == cs_team_t) { colorchat(0,RED,......... i hope anyone has a better idea or colorchat native :( PHP Code:
|
Re: Again a Colorchat Problem
Quote:
|
Re: Again a Colorchat Problem
why don't you use simply colorchat.inc
|
Re: Again a Colorchat Problem
Quote:
colorchat.inc also uses get_user_team which is buggy ! |
Re: Again a Colorchat Problem
Why not just put that guy as sender, simple.
|
Re: Again a Colorchat Problem
1 Attachment(s)
ok ty for posts.
i got it but there a problem again : Code:
ColorChat(0,TEAM_COLOR,"%s ^x01hat ^x04+%d Frags ^x01und muss jetzt mit ^x04FunWaffen ^x01Spielen!",name,gerechnet)should be = user hat XX Frags und muss jetzt mit Funwaffen spielen! idk why F willbe replaced to O ????!! |
Re: Again a Colorchat Problem
mit^x04 F
|
Re: Again a Colorchat Problem
yop. ty Xpaw. its now done :D
|
| All times are GMT -4. The time now is 11:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.