SetPlayerToTeamColor
#1

pawn Код:
public SetPlayerToTeamColor(playerid)
{
    if(gTeam[playerid] == Team_Cop)
    {
        SetPlayerColor(playerid, COLOR_BLUE);
    }
    if(gTeam[playerid] == Team_Army)
    {
        SetPlayerColor(playerid, COLOR_PURPLE);
    }
    if(gTeam[playerid] == Team_FBI)
    {
        SetPlayerColor(playerid, COLOR_BLUE);
    }
    if(gTeam[playerid] >= 5)
    {
        SetPlayerColor(playerid, COLOR_WHITE);
    }
    return 1;
}
hi with above code i want to use it so i know what color it is from what color. but i dont want to chat with those colors! how can i chat with different colors? like when im Team_Cop, i will always chat with a blue name because my team color is blue. i want to change with white if i'm a cop but i want my name to show outside of chat to be blue. how i can do that?
Reply


Messages In This Thread
SetPlayerToTeamColor - by TheDiscussionCafe - 03.06.2012, 01:23
Re: SetPlayerToTeamColor - by Jonny5 - 03.06.2012, 01:35
Re: SetPlayerToTeamColor - by Edward156 - 03.06.2012, 02:34
Re: SetPlayerToTeamColor - by TheDiscussionCafe - 03.06.2012, 02:34

Forum Jump:


Users browsing this thread: 1 Guest(s)