15.02.2012, 15:32
Huh i dont get it i added it changed it a bit but it doesnt work
pawn Код:
foreach(new i : Player)
{
if(gTeam[i] == 2 && gTeam[playerid] == 1)
{
SetPlayerMarkerForPlayer(i, playerid, civic_COLOUR);
}
else if(gTeam[i] == 3 && gTeam[playerid] == 1)
{
SetPlayerMarkerForPlayer(i, playerid,militia_COLOUR);
}
else if(gTeam[i] == 4 && gTeam[playerid] == 1)
{
SetPlayerMarkerForPlayer(i, playerid,criminal_COLOUR);
}
else if(gTeam[i] == 5 && gTeam[playerid] == 1)
{
SetPlayerMarkerForPlayer(i, playerid,refunder_COLOUR);
}