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(client, GREEN, "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(client, GREEN, "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!