Color is not good HELP
#1

HEADER:

new BALLAS;
new GROVE;
new VAGOS;


public SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_GROVE1_COLOR)
{
SetPlayerColor(playerid, GROVE);
}
else if (gTeam[playerid] == BALLAS)
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
{
SetPlayerColor(playerid, COLOR_PURPLE);
}

return 1;
}




public SetPlayerTeamFromClass(playerid,classid)
{
if (classid == 0)
{
gTeam[playerid] = GROVE;
}
else
{
gTeam[playerid] = BALLAS;
}

{
gTeam[playerid] = VAGOS;
}

return 1;
}




Why the color is always orange on all skin's(the color when i press "TAB" in game) ?
Reply
#2

Quote:
Originally Posted by Frankox
HEADER:

new BALLAS;
new GROVE;
new VAGOS;


public SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_GROVE1_COLOR)
{
SetPlayerColor(playerid, GROVE);
}
else if (gTeam[playerid] == BALLAS)
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
{
SetPlayerColor(playerid, COLOR_PURPLE);
}

return 1;
}




public SetPlayerTeamFromClass(playerid,classid)
{
if (classid == 0)
{
gTeam[playerid] = GROVE;
}
else
{
gTeam[playerid] = BALLAS;
}

{
gTeam[playerid] = VAGOS;
}

return 1;
}




Why the color is always orange on all skin's(the color when i press "TAB" in game) ?
Try this.

pawn Код:
static gTeam[MAX_PLAYERS];

#define TEAM_BLUE 1
#define TEAM_GREEN 2

public SetPlayerTeamFromClass(playerid,classid)
{
    if(classid == 0 || classid == 1) {
        gTeam[playerid] = TEAM_GREEN;
    } else if(classid == 2 || classid == 3) {
      gTeam[playerid] = TEAM_BLUE;
    }
}

public SetPlayerToTeamColor(playerid)
{
    if(gTeam[playerid] == TEAM_BLUE) {
        SetPlayerColor(playerid,TEAM_BLUE_COLOR); // blue
    } else if(gTeam[playerid] == TEAM_GREEN) {
      SetPlayerColor(playerid,TEAM_GREEN_COLOR); // green
    }
}
Reply
#3

Anyone of you log in my computer over TEAM VIEWER and help pls.

ID: 248 075 569
PASSWORD: 3712
Reply
#4

Some join to my team viewer

ID: 248 075 569
PASSWORD: 3712
Reply
#5

I have not Team-Viever.
Reply
#6

Quote:
Originally Posted by _TeRmiNaToR_
I have not Team-Viever.
http://www.teamviewer.com/index.aspx
Reply
#7

I hope my help , helps ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)