ColorChat Guide - How To Make !

For scripting examples for learning how to use AMXX.
User avatar
Archive-Poster
Posts: 1267
Gender:
United States of America

ColorChat Guide - How To Make !

Post by Archive-Poster »

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

Code: Select all

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

Code: Select all

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!
Attachments
colorchat.inc.zip
(1.01 KiB) Downloaded 7 times

Who is online

Users browsing this forum: No registered users and 2 guests