LITTLE color help nedded...
#3

Look. I don't know how ProxDetector works but here is how I would do that
pawn Код:
public OnPlayerText(playerid, text[])
{
    new pname[MAX_PLAYER_NAME], str[128];
    GetPlayerName(playerid, pname, sizeof(pname));
    strreplace(pname, '_', ' ');//This will show when player speaks FirstName_LastName says: test
    format(str, sizeof(str), "%s: {FFFFFF} %s", pname, text);
    ProxDetector(30.0, playerid, str, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
    return 0;
}
You simply use Hex Color codes. http://www.colorpicker.com/ to get them. They got added in 0.3c (I think xD)
Reply


Messages In This Thread
LITTLE color help nedded... - by Gooday - 06.12.2011, 18:54
Re: LITTLE color help nedded... - by Jack_Rocker - 06.12.2011, 20:19
Re: LITTLE color help nedded... - by [MG]Dimi - 06.12.2011, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)