15.03.2012, 09:56
Hey guys. I made a simple /me command for my GM, all work good, but i don't know how to set it to rose/pink color...
Thanks in advance.
pawn Код:
CMD:me(playerid, params[])
{
new text[128];
if(!sscanf(params, "s[128]", text))
{
new Name[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, Name, sizeof(Name));
format(string, sizeof(string), "%s %s", Name, text);
ProxDetector(10.0, playerid, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
return 1;
}
else return SendClientMessage(playerid, COLOR_BROWN, "USAGE: /me [Text]");
}