Colors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Colors (
/showthread.php?tid=609846)
Colors -
oktokt1 - 17.06.2016
Is it possible To make Send SendPlayerMessageToAll with 3 colors?
Like :
SendPlayerMessageToAll(-1,"[color]HI [color]all");
??
And SendClientMessageToAll too?
Re: Colors -
AbyssMorgan - 17.06.2016
PHP код:
SendPlayerMessageToAll(-1,"{FF0000}HI red {0000FF}all blue");
Re: Colors -
xTURBOx - 17.06.2016
wiki.sa-mp.com/wiki/Colour_Embedding
Re: Colors -
oktokt1 - 17.06.2016
Quote:
Originally Posted by AbyssMorgan
PHP код:
SendPlayerMessageToAll(-1,"{FF0000}HI red {0000FF}all blue");
|
Thnx.
Quote:
Originally Posted by xTURBOx
wiki.sa-mp.com/wiki/Colour_Embedding
|
Thnx alot.
Re: Colors -
Dayrion - 17.06.2016
This is working too :
PHP код:
#define RED "{FF0000}"
#define BLUE"{0000FF}"
SendPlayerMessageToAll(-1,"HI "RED"red "BLUE"all blue");
but this one is better
PHP код:
#define RED 0xFF0000ff
#define BLUE {"0000FF"}
SendPlayerMessageToAll(RED,"HI red "BLUE"all blue");
Re: Colors -
oktokt1 - 17.06.2016
Quote:
Originally Posted by Dayrion
This is working too :
PHP код:
#define RED "{FF0000}"
#define BLUE"{0000FF}"
SendPlayerMessageToAll(-1,"HI "RED"red "BLUE"all blue");
but this one is better
PHP код:
#define RED 0xFF0000ff
#define BLUE {"0000FF"}
SendPlayerMessageToAll(RED,"HI red "BLUE"all blue");
|
Got ur mean and used it thnx. already u got my rep