View Single Post
Author Message
HBxander
Senior Member
Join Date: Jan 2011
Location: Behind you!
Old 02-08-2011 , 13:47   ColorChat Guide - How To Make !
Reply With Quote #1

HBxander - ColorChat Guide



Why i made this thread?
Because i think a lot of new scripters need help with ColorChat, and hope they would find this very interesting to use. about 3 months ago, when i where a 'noob scripter' i couldnt find any guides on, how to make ColorChat perfect, and without errors or warnings!



What is this thread good for?
Actually, i dont really know what its good for. Maybe on learning new people, to script better? but anyways, lets go start on how to make ColorChat!



The Colors:
Normal Color (depends on users ' con_color ')

Code: ^x01 or ^1

Team Color(CT: Blue T: Red Spec: Grey)
Code: ^x03 or ^3

Green Color (Allways Green)
Code: ^x04 or ^4


Now, lets make a try!
Example:


(Terroist)

I Want To Write The Player Name Red
Could look like

PHP Code:
ColorChat(clientGREEN"I^x01 Want^x03 To Write^x01 The^x04 Player^x01 Name^x03 Red"); 
(NOTE: When you write "GREEN" as the Start color, you dont need to write ^x04 or ^4 in start of text!)



(Counter-Terroists)

I Want To Write The Player Name Red
Could look like

PHP Code:
ColorChat(clientGREEN"I^x01 Want^x03 To Write^x01 The^x04 Player^x01 Name^x03 Red"); 
But First Of All!
Write in the include files(cant remember name, symptex or something)

include <colorchat>

And now you need to compile it locally, to get no errors!




Credits For Making Guide:
- Me (Making the HTML Code, and made this thread)
- Capell^ (Guiding me whenever i needed some help) THANKS MAN!

DONT SPAM ABOUT THIS! MY FIRST THREAD!

Last edited by HBxander; 02-09-2011 at 10:04.
HBxander is offline