Problem
#1

Hello guys,i've this code:

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(gTeam[playerid] == COP)
    {
        SetPlayerColor(playerid,COLOR_BLUE);
    }

    if(gTeam[playerid] == CIV)
    {
        SetPlayerColor(playerid,COLOR_WHITE);
    }
    SetPlayerInterior(playerid,0);
    return 1;
}
And a problem with the chat.

When someone uses chat,the player name color is ORANGE and not as set OnPlayerSpawn

The COP should have COLOR_BLUE in the chat as playername,and CIV COLOR_WHITE,but for both is ORANGE
Reply


Messages In This Thread
Problem - by Face9000 - 25.01.2012, 19:42
Re: Problem - by Face9000 - 25.01.2012, 20:48
Re: Problem - by Konstantinos - 25.01.2012, 20:55
Re: Problem - by Face9000 - 25.01.2012, 21:07
Re: Problem - by Face9000 - 26.01.2012, 08:10
Re: Problem - by MasterJoker - 26.01.2012, 08:14
Re: Problem - by iZN - 26.01.2012, 08:24
Re: Problem - by Face9000 - 26.01.2012, 08:31
Re: Problem - by iZN - 26.01.2012, 09:38
Re: Problem - by Face9000 - 26.01.2012, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)