SA-MP Forums Archive
[PROBLEM] Team Colors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [PROBLEM] Team Colors (/showthread.php?tid=118561)



[PROBLEM] Team Colors - Onyx09 - 03.01.2010

ok well i used this code to set each team a color for example the police deparment

Код:
		{
			SetPlayerToTeamColor(playerid);
			SetPlayerInterior(playerid,3);
			SetPlayerPos(playerid, 215.5322,151.7853,1003.0234);
			SetPlayerFacingAngle(playerid, 270.0);
			SetPlayerColor(playerid, COLOR_BLUE);
			PlayerInfo[playerid][pInt] = 3;
			return 1;
	  }
but the problem is that the police be show in the map as a blue icon and everybody can see them im editin a RP server so that would be gay as it is right now can someone tell me wich code use so only the names set as blue and the lil blue box dont show up on map?




Re: [PROBLEM] Team Colors - Backwardsman97 - 03.01.2010

I think you don't want the markers on the map right? Put this under OnGameModeInit
pawn Код:
ShowPlayerMarkers(0);



Re: [PROBLEM] Team Colors - Onyx09 - 03.01.2010

Thanks it worked