colour textdraw
#1

How to make colour this ?




pleaze hlp me !
Reply
#2

This content is currently unavailable. Upload the picture somewhere else. (imgur.com)
Reply
#3

SendClientMessage(playerid, COLOR_XXX, "Message");
The color XXX stands for any color you'd like to use, but there's a small format.

Go to the top of your script, and do that:
pawn Код:
#define COLOR_RED 0xFF0000FF
Use this: http://colorpicker.com/ and pick the color of your choise, then copy the color ID.
Go to your script, at the top of that do the example I gave you, but make sure to add '0x', at the beggining of the color, and 'FF', at the end of it.

So it will be like that:
pawn Код:
#define COLOR_XXX  0xCOLORIDFF
Good luck.
Reply
#4

OK thanks bro
Reply
#5

Exactly the one you wanted!

http://forum.sa-mp.com/showthread.ph...74#post1112874
Reply
#6

oh ty man ,

rep + for you
Reply
#7

....
Reply
#8

See where u see #include <a_samp>

Like this

Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
then Down in it Just do

Код:
#define COLOR_GREEN 0x00FF00
#define COLOR_RED 0xFF0000
#define COLOR_BLACK 0x000000
if u want to add other color Just type in ****** that u want this Color Code and do like this be adding it Just add before like that

Код:
#define COLOR_<Should be Caps Color name> <then just for> 0x <add here the code>
if u want to send cilent message ig from script when player join do this server do:

Код:
public OnPlayerConnect(playerid)
{
	return 1;
}
Here then Just Add this:

Код:
public OnPlayerConnect(playerid)
{
 SendClientMessage(playerid, COLOR_BLACK, "Swan-Off || Ammo - 26");
 	return 1;
}
if u want to change color just change (playerid, COLOR_and write the color name

if u want to change the message when player spawnn (playerid, COLOR_<any color>, <write here>

Hope I helped u
Reply
#9

example ? man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)