10.01.2011, 19:14
toda a vez que eu uso o SetPlayerToTeamColor ou SetPlayerColor a pessoa fica como se fosse um checkpoint no mapa da cor que ela estб setada. Eu vi uma vez um server que ela nгo ficava com o checkpoint no mapa quando usavгo o setplayertoteamcolor alguйm sabe me dizer como eu faзo para usar o SetPlayerToTeamColor ou SetPlayerColor sem criar um sнmbolo de Checkpoint na pessoa? ficaria muito grato obrigado a todos.
a qui estб a minha public do setplayertoteamcolor
a qui estб a minha public do setplayertoteamcolor
pawn Код:
public SetPlayerToTeamColor(playerid)
{
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//Polнcia Militar
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
else if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//Polнcia Federal
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
else if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//Forзas Armadas
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
else if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//G.A.R.R.A
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
else if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Front Yard Ballas
{
SetPlayerColor(playerid, TEAM_BALLAS_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Grove Street Families
{
SetPlayerColor(playerid, TEAM_GROVE_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//Ministйrio
{
SetPlayerColor(playerid, COLOR_YELLOW);
}
else if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)//Hitman
{
SetPlayerColor(playerid, 0xFFA85400AA);
}
else if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)//Repуrters
{
SetPlayerColor(playerid, COLOR_WHITE);
}
else if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)//Lowriders
{
SetPlayerColor(playerid, COLOR_LOWRIDER);
}
else if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)//MOSSAD
{
SetPlayerColor(playerid, COLOR_MOSSAD);
}
else if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)//Los Santos Vagos
{
SetPlayerColor(playerid, TEAM_VAGOS_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)//Asphalt King's
{
SetPlayerColor(playerid, TEAM_MOTOCA_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)//Asfarc
{
SetPlayerColor(playerid, 0xF4005BF6);
}
else if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//Varrio Los Aztecas
{
SetPlayerColor(playerid, TEAM_AZTECAS_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//Mбfia Russa
{
SetPlayerColor(playerid, COLOR_BLACK);
}
else if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)//Mбfia Yakuza
{
SetPlayerColor(playerid, 0xFFFF3E3EAA);
}
else if (PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)//Drifters
{
SetPlayerColor(playerid, LARANJA1);
}
else if (PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pLeader] == 19)//Comando Vermelho
{
SetPlayerColor(playerid, TEAM_COMANDO_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20)//PCC
{
SetPlayerColor(playerid, TEAM_PCC_COLOR);
}
else if (PlayerInfo[playerid][pMember] == 21 || PlayerInfo[playerid][pLeader] == 21)//Detran
{
SetPlayerColor(playerid, COLOR_DBLUE);
}
else if (PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)//Al-Qaeda
{
SetPlayerColor(playerid, COLOR_ALQAEDA);
}
else if (PlayerInfo[playerid][pTeam] == 3)//Civis
{
SetPlayerColor(playerid, COLOR_WHITE);
}
}