Raised This Month: $51 Target: $400
 12% 

help on chat colors for black ^x04%s or what


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Iwon
BANNED
Join Date: Jul 2008
Old 08-16-2008 , 08:59   help on chat colors for black ^x04%s or what
Reply With Quote #1

help on chat colors for black ^x04%s or what

i got this soo far it didnt work

PHP Code:
             // Name
            
switch (get_pcvar_num (g_NameColor))
                {
                    case 
1:
                        
format (strName191"%s(%s) %s"aliveplayerTeamNamename)

                    case 
2:
                        
format (strName191"%s(%s) ^x04%s"aliveplayerTeamNamename)
                        
                                              case 
3//black
                        
format (strText191"^x01%s"aliveplayerTeamNamename)    
                    case 
4//black
                        
format (strText191"^x02%s"aliveplayerTeamNamename)    
                    case 
5//black
                        
format (strText191"^x03%s"aliveplayerTeamNamename)    
                    case 
6//black
                        
format (strText191"^x05%s"aliveplayerTeamNamename)    
                    case 
7//black
                        
format (strText191"^x06%s"aliveplayerTeamNamename)    
                        
                    case 
8:
                        {
                            
color "SPECTATOR"
                            
format (strName191"%s(%s) ^x03%s"aliveplayerTeamNamename)
                        }
                        
                    case 
9:
                        {
                            
color "CT"
                            
format (strName191"%s(%s) ^x03%s"aliveplayerTeamNamename)
                        }

                    case 
10:
                        {
                            
color "TERRORIST"
                            
format (strName191"%s(%s) ^x03%s"aliveplayerTeamNamename)
                        }
                    
                    case 
11:
                        {
                            
get_user_team (idcolor9)
                                
                            
format (strName191"%s(%s) ^x03%s"aliveplayerTeamNamename)
                        }
                } 
What color is black please pl0x.

+Karma for help if you give me the format of ^x0 what ever it is :/ please. for my admin vip superadmin script on Counter-strike.

Last edited by Iwon; 08-16-2008 at 09:04.
Iwon is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-16-2008 , 09:15   Re: help on chat colors for black ^x04%s or what
Reply With Quote #2

black is impossible
__________________
xPaw is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-16-2008 , 13:59   Re: help on chat colors for black ^x04%s or what
Reply With Quote #3

You can only do 5 chat colors:
  • Red
  • Blue
  • Gray
  • Green
  • Default Color (Yellow)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Iwon
BANNED
Join Date: Jul 2008
Old 08-16-2008 , 14:43   Re: help on chat colors for black ^x04%s or what
Reply With Quote #4

How about

like in svc_tempernty or something for chat color
Code:
 blah("255") // R
blah("255") // G
blah("255") // B
code please
Iwon is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 08-16-2008 , 14:44   Re: help on chat colors for black ^x04%s or what
Reply With Quote #5

Quote:
Originally Posted by Iwon View Post
How about

like in svc_tempernty or something for chat color
Code:
 blah("255") // R
blah("255") // G
blah("255") // B
code please
You can't choose RGB color on chat. Just the ones mentioned by Xolent.
danielkza is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 08-16-2008 , 15:43   Re: help on chat colors for black ^x04%s or what
Reply With Quote #6

Quote:
Originally Posted by danielkza View Post
You can't choose RGB color on chat. Just the ones mentioned by Xolent.
Players can change chat to RGB colors with the client side cvar con_color. But that doesn't help Iwon.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 08-16-2008 , 16:16   Re: help on chat colors for black ^x04%s or what
Reply With Quote #7

Quote:
Originally Posted by Emp` View Post
Players can change chat to RGB colors with the client side cvar con_color. But that doesn't help Iwon.
That's new to me,just changed mine to match my blue HUD and GUI. Unfortunately,this doesn't help him at all.
danielkza is offline
Reply



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 02:25.


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