Using collors in command
#1

Hi guys..

How to make that players can use collors in command.For example:
/b Hey guys,my name is {F00000} GospodinX

It need to print:
Hey guys,my name is GospodinX

Code:
YCMD:b(playerid,params[],help)
{
       new text[100],string1[128];
	if(sscanf(params, "s[100]", text)) return 1;
	format(string1, 105, " ((  %s ))", text);
	SendClientMessageToAll(-1, string1);
        return 1;
}
If I just do this,I can't use colors,because it will be always white color.Thank you
Reply


Messages In This Thread
Using collors in command - by GospodinX - 07.01.2019, 18:07
Re: Using collors in command - by Heress - 07.01.2019, 18:29
Re: Using collors in command - by GospodinX - 07.01.2019, 19:35
Re: Using collors in command - by Heress - 07.01.2019, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)