29.11.2010, 01:41
(
Last edited by ipsBruno; 29/11/2010 at 01:20 PM.
)
What is?
It is a system that returns to the background color to change color from chat
Why did this?
http://forum.sa-mp.com/showpost.php?...90&postcount=3
A member of my clan, really wanted it.
And some people have been 'rude' to him in topic
Using?
Output:
" Welcome to my Server Thanks for Enter "
Params:
Create by Me
NOTE: Colour is in String " colour "
Bugs? Pm to Me
Thanks
It is a system that returns to the background color to change color from chat
Why did this?
http://forum.sa-mp.com/showpost.php?...90&postcount=3
A member of my clan, really wanted it.
And some people have been 'rude' to him in topic
Using?
pawn Code:
SendClientMessageColour(playerid,0xFFFFFFFF,"0xFFFFFFFF","Welcome to my {FFFFCC} Server {/} Thanks for Enter");
" Welcome to my Server Thanks for Enter "
Code:
{color} - Open Color text - Text to Change Color {/} - End of Color
Code:
SendClientMessageColour(playerid,colourmsg,colourbackground[],msg[]);
pawn Code:
/*
________________________________________________________________________
| _______ ______ _ |
| ( ____ \( ____ \| \ /\ |
| | ( \/| ( \/| \ / / |
| | (__ | (__ | |_/ / |
| | __) | __) | _ ( |
| | ( | ( | | \ \ |
| | ) | (____/\| / \ \ |
| |/ (_______/|_/ \/ |
| |
| Created By DraKiNs |
| |
| [FeK]Company clan of Programmers and Scripters |
|______________________________________________________________________|
Released Date 29/11/2010
Look Blog to Releaseds
Credits,respect!
Developer DraKiNs
Thanks SAMP Team and Garfield
*/
#include <a_samp>
public OnPlayerSpawn(playerid)
{
SendClientMessageColour(playerid,0x61DAE0FF,"0x61DAE0FF","Welcome to my {FFFFCC} Server {/} Thanks for Enter");
return 1;
}
stock SendClientMessageColour(p,c,b[],msg[])
{
BackToBackGroundColour(msg,b);
SendClientMessage(p,c,msg);
}
BackToBackGroundColour(string[],colour[])
{
new openkey = strfind(string,"{/}",false);
if(openkey != -1)
{
strdel(colour,0,2);
strdel(colour,strlen(colour)-2,strlen(colour));
strdel(string,openkey+1,openkey+3);
new endstr[20];format(endstr,19,"%s}",colour);
strins(string,endstr,openkey+1,openkey+4);
}
}
Create by Me
NOTE: Colour is in String " colour "
Bugs? Pm to Me
Thanks