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
Code: Select all
ColorChat(client, GREEN, "I^x01 Want^x03 To Write^x01 The^x04 Player^x01 Name^x03 Red"); (Counter-Terroists)
I Want To Write The Player Name Red
Could look like
Code: Select all
ColorChat(client, GREEN, "I^x01 Want^x03 To Write^x01 The^x04 Player^x01 Name^x03 Red");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!
