show player marker
#1

when i'm spawning in class 2 my marker removed but when i'm pressing TAB i can't see my name.what's wrong?
Код:
foreach(Player,i){
			if(i!=playerid){
				if(PlayerClass[playerid]==2)SetPlayerMarkerForPlayer(i,playerid,(TeamColor[PlayerTeam[playerid]-1]&0xFFFFFF00));
				else if(PlayerClass[playerid]==5)SetPlayerMarkerForPlayer(i,playerid,(TeamColor[PlayerTeam[playerid]-1]&0xFFFFFF00));
				else if(PlayerClass[playerid]==6)SetPlayerMarkerForPlayer(i,playerid,(TeamColor[PlayerTeam[playerid]-1]&0xFFFFFF00));
				else if(PlayerClass[playerid]==7)SetPlayerMarkerForPlayer(i,playerid,(TeamColor[PlayerTeam[playerid]-1]&0xFFFFFF00));
				else if(PlayerClass[playerid]==9)SetPlayerMarkerForPlayer(i,playerid,(TeamColor[PlayerTeam[playerid]-1]&0xFFFFFF00));
				if(PlayerClass[i]==2)SetPlayerMarkerForPlayer(i,playerid,(TeamColor[PlayerTeam[i]-1]&0xFFFFFF00));
				else if(PlayerClass[i]==5)SetPlayerMarkerForPlayer(playerid,i,(TeamColor[PlayerTeam[i]-1]&0xFFFFFF00));
				else if(PlayerClass[i]==6)SetPlayerMarkerForPlayer(playerid,i,(TeamColor[PlayerTeam[i]-1]&0xFFFFFF00));
				else if(PlayerClass[i]==7)SetPlayerMarkerForPlayer(playerid,i,(TeamColor[PlayerTeam[i]-1]&0xFFFFFF00));
				else if(PlayerClass[i]==9)SetPlayerMarkerForPlayer(playerid,i,(TeamColor[PlayerTeam[i]-1]&0xFFFFFF00));}}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)