28.12.2015, 14:21
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.
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;
}


