11.12.2011, 11:33
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;
}