Getting the color
#1

When i do /setmessage {FF0000}Hello. it don't set as that color. When i do it from the database it do set the color.
but not the command do.
Код:
CMD:setmessage(playerid,params[])
{
	new SetMessage[128], string[128];
        if(sscanf(params,"s[128]",SetMessage)) return SendClientMessage(playerid, -1, "Usage: /setmessage [custom message]");
        
   	format(string, sizeof(string), "You have set your message as: %s", SetMessage);
	SendClientMessage(playerid, -1, string);
	format(PlayerInfo[playerid][SetMessage], 128, "%s", SetMessage);

	return 1;
}
Reply


Messages In This Thread
Getting the color - by Ryan50 - 28.12.2015, 14:21
Re: Getting the color - by SmoW - 28.12.2015, 14:36
Re: Getting the color - by Ryan50 - 28.12.2015, 14:40
Re: Getting the color - by SmoW - 28.12.2015, 14:43
Re: Getting the color - by Ryan50 - 28.12.2015, 14:46
Re: Getting the color - by SmoW - 28.12.2015, 14:52
Re: Getting the color - by SmoW - 28.12.2015, 15:04
Re: Getting the color - by Ryan50 - 28.12.2015, 15:05
Re: Getting the color - by SmoW - 28.12.2015, 15:14
Re: Getting the color - by Ryan50 - 28.12.2015, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)