23.11.2013, 15:19
Hello i made the team color
and it worked for a while fine but then it dosent set the player to the team color the team civi dosent get his color
the team cop gets his color as i setted it
here is my code
and it worked for a while fine but then it dosent set the player to the team color the team civi dosent get his color
the team cop gets his color as i setted it
here is my code
pawn Код:
public SetPlayerToTeamColor(playerid)
{
if(gTeam[playerid] == Team_Cop)
{
SetPlayerColor(playerid, COLOR_BLUE);
}
if(gTeam[playerid] == Team_Civi && gTeam[playerid] == Team_Rape && gTeam[playerid] == Team_Kidnapper)
{
SetPlayerColor(playerid, -1);
}
return 1;
}