#include <a_samp>

//=================================== LINE 1 ===================================

#define COLOR_RED 0xAA3333AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA

//=================================== LINE 2 ===================================

#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF

//================================== LINE 3 ====================================

#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA

//================================== LINE 4 ====================================

#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0xA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA

//================================= LINE 5 =====================================

#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_LIMEGREEN 0x32CD32AA

//================================= LINE 6 =====================================

#define COLOR_MIDNIGHTBLUE 0x191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA

//================================= LINE 7 =====================================

#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA
#define COLOR_YELLOWGREEN 0x9ACD32AA
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA

//================================ LINE 8 ======================================

#define COLOR_BRIGHTRED 0xDC143CAA
#define COLOR_SYSTEM 0xEFEFF7AA
#define COLOR_PURPLE 0x330066AA

//============================ The Proper Script ===============================

public OnPlayerCommandText(playerid, cmdtext[])

//==============================================================================

{
	if (strcmp("/colors", cmdtext, true) == 0)
	{
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/red , /grey , /green , /yellow , /white");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/blue , /lightblue , /orange , /lime , /magenta");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/navy , /aqua , /crimson , /flblue , /bisque");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/black , /chartreuse , /brown , /coral , /gold");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/greenyellow , /indigo , /ivory , /lawngreen , /limegreen");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/midnightblue , /maroon , /olive , /orangered , /pink");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/springgreen , /tomato , /yellowgreen , /mediumaqua");
		SendClientMessage(playerid,COLOR_MEDIUMAQUA,"/mediummagenta , /brightred , /system , /purple");
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/colours", cmdtext, true) == 0)
	{
		SendClientMessage(playerid,COLOR_YELLOW,"/red , /grey , /green , /yellow , /white");
		SendClientMessage(playerid,COLOR_YELLOW,"/blue , /lightblue , /orange , /lime , /magenta");
		SendClientMessage(playerid,COLOR_YELLOW,"/navy , /aqua , /crimson , /flblue , /bisque");
		SendClientMessage(playerid,COLOR_YELLOW,"/black , /chartreuse , /brown , /coral , /gold");
		SendClientMessage(playerid,COLOR_YELLOW,"/greenyellow , /indigo , /ivory , /lawngreen , /limegreen");
		SendClientMessage(playerid,COLOR_YELLOW,"/midnightblue , /maroon , /olive , /orangered , /pink");
		SendClientMessage(playerid,COLOR_YELLOW,"/springgreen , /tomato , /yellowgreen , /mediumaqua");
		SendClientMessage(playerid,COLOR_YELLOW,"/mediummagenta , /brightred , /system , /purple");
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/red", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_RED);
		return 1;
	}
	if (strcmp("/grey", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_GREY);
		return 1;
	}
	if (strcmp("/green", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_GREEN);
		return 1;
	}
	if (strcmp("/yellow", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_YELLOW);
		return 1;
	}
	if (strcmp("/white", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_WHITE);
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/blue", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_BLUE);
		return 1;
	}
	if (strcmp("/lightblue", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_LIGHTBLUE);
		return 1;
	}
	if (strcmp("/orange", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_ORANGE);
		return 1;
	}
	if (strcmp("/lime", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_LIME);
		return 1;
	}
	if (strcmp("/magenta", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_MAGENTA);
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/navy", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_NAVY);
		return 1;
	}
	if (strcmp("/aqua", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_AQUA);
		return 1;
	}
	if (strcmp("/crimson", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_CRIMSON);
		return 1;
	}
	if (strcmp("/flblue", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_FLBLUE);
		return 1;
	}
	if (strcmp("/bisque", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_BISQUE);
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/black", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_BLACK);
		return 1;
	}
	if (strcmp("/chartreuse", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_CHARTREUSE);
		return 1;
	}
	if (strcmp("/brown", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_BROWN);
		return 1;
	}
	if (strcmp("/coral", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_CORAL);
		return 1;
	}
	if (strcmp("/gold", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_GOLD);
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/greenyellow", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_GREENYELLOW);
		return 1;
	}
	if (strcmp("/indigo", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_INDIGO);
		return 1;
	}
	if (strcmp("/ivory", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_IVORY);
		return 1;
	}
	if (strcmp("/lawngreen", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_LAWNGREEN);
		return 1;
	}
	if (strcmp("/limegreen", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_LIMEGREEN);
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/midnightblue", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_MIDNIGHTBLUE);
		return 1;
	}
	if (strcmp("/maroon", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_MAROON);
		return 1;
	}
	if (strcmp("/olive", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_OLIVE);
		return 1;
	}
	if (strcmp("/orangered", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_ORANGERED);
		return 1;
	}
	if (strcmp("/pink", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_PINK);
		return 1;
	}
	
//==============================================================================

	if (strcmp("/springgreen", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_SPRINGGREEN);
		return 1;
	}
	if (strcmp("/tomato", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_TOMATO);
		return 1;
	}
	if (strcmp("/yellowgreen", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_YELLOWGREEN);
		return 1;
	}
	if (strcmp("/mediumaqua", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_MEDIUMAQUA);
		return 1;
	}
	if (strcmp("/mediummagenta", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_MEDIUMMAGENTA);
		return 1;
	}
	
//==============================================================================
	
	if (strcmp("/brightred", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_BRIGHTRED);
		return 1;
	}
	if (strcmp("/system", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_SYSTEM);
		return 1;
	}
	if (strcmp("/purple", cmdtext, true) == 0)
	{
	    SetPlayerColor(playerid,COLOR_PURPLE);
		return 1;
	}
	
//==============================================================================
	
	return 0;
}

//================================ End Of Script! ==============================


