31.03.2009, 17:57
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) ?
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) ?