public OnPlayerConnect(playerid)
{
if(PlayerInfo[playerid][Level] == 1)
{
SetPlayerColor(playerid,COLOR_BLUE);
}
if(PlayerInfo[playerid][Level] == 2 && PlayerInfo[playerid][Level] == 3 && PlayerInfo[playerid][Level] == 4)
{
SetPlayerColor(playerid,COLOR_RED);
}
if(PlayerInfo[playerid][Level] == 1)
{
SetPlayerColor(playerid,COLOR_GREEN);
}
return 1;
}