How to add color to Words like words in /commands -
Badandy - 18.05.2010
I dont know how to add color to this
Code:
if (strcmp("/commands", cmdtext, true, 10) == 0) // Shows the Commands List
{
SendClientMessage(playerid,0xAA3333AA,"Server Commands");
SendClientMessage(playerid,0xAA3333AA,"/help /kill /rules");
SendClientMessage(playerid,0xAA3333AA,"/help More Commands Soon!!");
return 1;
Re: How to add color to Words like words in /commands -
sjvt - 18.05.2010
Uhm?
Re: How to add color to Words like words in /commands -
ViruZZzZ_ChiLLL - 18.05.2010
Here just include my INC and just type in the
pawn Code:
SendClientMessage(playerid, Red, "message");
http://solidfiles.com/d/0cb/
download, that and just put this on top of the script
and you don't have to worry about the colors
but, if your unsatisfied, with the color of the
"colors"
just add your own color in the include.
Re: How to add color to Words like words in /commands -
Badandy - 18.05.2010
I dont get what ur saying
Re: How to add color to Words like words in /commands -
russo666 - 18.05.2010
Badandy, what do you mean?
Something like that?
/help /kill /rules
If yes, i don't think that is possible in chat. (I think, i'm not sure).
Re: How to add color to Words like words in /commands -
ViruZZzZ_ChiLLL - 18.05.2010
Quote:
Originally Posted by Badandy
I dont get what ur saying
|
Download my include, and put it in the pawno/includes folder
then on the top of your script put :
Then your good to go. The main colors are Red, Blue, White, Yellow, Green, Black, etc.
Note : It's already defined in the include so don't worry
: If your not satisfied with the colors of the
colors just add your color to the include
pawn Code:
#define [COLOR] [HEX CODE OF COLOR LIKE - 0xFF0000FF] // which means it is color red
Re: How to add color to Words like words in /commands -
Badandy - 18.05.2010
Code:
if (strcmp("/commands", cmdtext, true, 10) == 0) // Shows the Commands List
{
SendClientMessage(playerid,0xAA3333AA,"Server Commands");
SendClientMessage(playerid,0xAA3333AA,"/help /kill /rules");
SendClientMessage(playerid,0xAA3333AA,"/help More Commands Soon!!");
return 1;
How do i add color to the text that comes when u do /commands?
Re: How to add color to Words like words in /commands -
ViruZZzZ_ChiLLL - 18.05.2010
Include my color include and change the
To the color of your choice, Red, Blue, whatever.
Re: How to add color to Words like words in /commands -
Badandy - 18.05.2010
Can you show me how with the whole script that i gave?
Re: How to add color to Words like words in /commands -
ViruZZzZ_ChiLLL - 18.05.2010
On top of script :
The command (your script) :
pawn Code:
if (strcmp("/commands", cmdtext, true, 10) == 0) // Shows the Commands List
{
SendClientMessage(playerid,Red,"Server Commands");
SendClientMessage(playerid,Blue,"/help /kill /rules");
SendClientMessage(playerid,Blue,"/help More Commands Soon!!");
return 1;
}