Help me with Chat Name Colour
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    if(fexist(WhereTo(playerid)))
    {
    INI_ParseFile(WhereTo(playerid), "LoadCol_%s", .bExtra = true, .extra = playerid);
    SetPlayerColor(playerid, Col[playerid][pNameCol]);
    }
    else
    {
    Colour[playerid][pNameCol] = "{99DDEE}";
    Colour[playerid][pChat] = "{FFFFFF}";
    SetPlayerColor(playerid, Col[playerid][pNameCol]);
    }
    return 1;
}
SetPlayerColor changes Players Name Color.
Reply


Messages In This Thread
Help me with Chat Name Colour - by diablo16 - 11.12.2011, 09:48
Re: Help me with Chat Name Colour - by THE_KNOWN - 11.12.2011, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)