Raised This Month: $ Target: $400
 0% 

Can you fix ChatColor.inc


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 07-11-2012 , 16:36   Can you fix ChatColor.inc
#1

Can anybody fix colorchat.inc and make it if i put ^5 show in red color for all teams and ^6 show in blue color for all teams

thanks

Last edited by ConnorMcLeod; 07-12-2012 at 02:05. Reason: removed long code
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 07-11-2012 , 16:40   Re: Can you fix ChatColor.inc
#2

Ahhah ;)
Then you post a code use [PHP] tags.

Just use construction ColorChat( id, Red, "text" ) or ColorChat( id, Blue, "text" ) then.
__________________

Last edited by isotonic; 07-11-2012 at 16:41.
isotonic is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-11-2012 , 16:44   Re: Can you fix ChatColor.inc
#3

Quote:
Originally Posted by samer 123 View Post
Can anybody fix colorchat.inc and make it if i put ^5 show in red color for all teams and ^6 show in blue color for all teams
Problem, you can't do that freely. In order to do that, you must change the team of the player, print the message, then change the team back. Also, you will never be able to show both Red and Blue in the same message
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 07-11-2012 , 16:47   Re: Can you fix ChatColor.inc
#4

Quote:
Originally Posted by YamiKaitou View Post
In order to do that, you must change the team of the player, print the message, then change the team back.
He uses Connor's stock. It already does that ;)
__________________

Last edited by isotonic; 07-11-2012 at 16:48.
isotonic is offline
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 07-12-2012 , 01:51   Re: Can you fix ChatColor.inc
#5

well , i don't want all the text in the same color

so can anyone make red color "^5" and blue color "^6"

because i want them in the same txt

Last edited by samer 123; 07-12-2012 at 01:52.
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-12-2012 , 02:04   Re: Can you fix ChatColor.inc
#6

Don't use the stock.
Use fake native or module.

Use Red, Blue or Grey, and use ^1 ^3 and ^4, with this you can already do all what you said.

client_print_color(0, Red, "^4This is green, ^3Everybody see this in red, ^1this is normal chat color")
client_print_color(0, Blue, "^4This is green, ^3Everybody see this in blue, ^1this is normal chat color")
client_print_color(0, Grey, "^4This is green, ^3Everybody see this in grey, ^1this is normal chat color")


Edit :

SERVER YOU HAVE IN YOUR SIG IS NOSTEAM :
Code:
hostname:  Land Of KillerS
version :  48/1.1.2.6/Stdio 5447 secure  (10)
tcp/ip  :  89.238.135.150:27015
map     :  cs_assault at: 0 x, 0 y, 0 z
players :  4 active (32 max)

#      name userid uniqueid frag time ping loss adr
# 1 "}{@$}{!r $}{OoT3r" 1234 STEAM_ID_LAN   1 04:33  210    0
# 2 "[H]#[B] : |[P]uN!$heR|" 1235 STEAM_ID_LAN   0 04:04  238    0
# 3 "[xpr^^Team^^Cs]  karim lala" 1236 STEAM_0:0:1020066692   2 00:53   96    0
# 4 "ConnorMcLeod" 1237 STEAM_0:1:1337   0 00:16   34
Ban requested
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-12-2012 at 02:07.
ConnorMcLeod is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode