SA-MP Forums Archive
Map BLIP - 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)
+--- Thread: Map BLIP (/showthread.php?tid=541816)



Map BLIP - Greaper - 14.10.2014

Anyone help me how to make this SetPlayerColor to Invisible map Blip


Код:
#define COLOR_TWYELLOW 0xFFFF00AA
#define COLOR_TWPINK 0xE75480AA
#define COLOR_TWRED 0xFF0000AA
#define COLOR_TWBROWN 0x654321AA
#define COLOR_TWGRAY 0x808080AA
#define COLOR_TWOLIVE 0x808000AA
#define COLOR_TWPURPLE 0x800080AA
#define COLOR_TWTAN 0xD2B48CAA
#define COLOR_TWAQUA 0x00FFFFAA
#define COLOR_TWORANGE 0xFF8C00AA
#define COLOR_TWAZURE 0x007FFFAA
#define COLOR_TWGREEN 0x008000AA
#define COLOR_TWBLUE 0x0000FFAA
#define COLOR_TWBLACK 0x000000AA
Код:
stock SetPlayerToGangColor(playerid)
{
     if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 1)
     {
         SetPlayerColor(playerid, COLOR_TWBLACK);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 2)
     {
         SetPlayerColor(playerid, COLOR_TWWHITE);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 3)
     {
        SetPlayerColor(playerid, COLOR_TWRED);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 4)
     {
        SetPlayerColor(playerid, COLOR_TWBLUE);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 5)
     {
   		 SetPlayerColor(playerid, COLOR_TWYELLOW);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 6)
     {
         SetPlayerColor(playerid, COLOR_TWPURPLE);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 7)
     {
         SetPlayerColor(playerid, COLOR_TWPINK);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 8)
     {
         SetPlayerColor(playerid, COLOR_TWBROWN);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 9)
     {
         SetPlayerColor(playerid, COLOR_TWGRAY);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 10)
     {
   		 SetPlayerColor(playerid, COLOR_TWOLIVE);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 11)
     {
         SetPlayerColor(playerid, COLOR_TWTAN);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 12)
     {
	   	 SetPlayerColor(playerid, COLOR_TWAQUA);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 13)
     {
	   	 SetPlayerColor(playerid, COLOR_TWORANGE);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 14)
     {
	   	 SetPlayerColor(playerid, COLOR_TWAZURE);
     }
     else if(FamilyInfo[PlayerInfo[playerid][pGang]][FamilyColor] != 15)
     {
	   	 SetPlayerColor(playerid, COLOR_TWGREEN);
     }
     else
     {
         SetPlayerColor(playerid, TEAM_HIT_COLOR);
	     return 1;
     }
     return 1;
}



AW: Map BLIP - Skimmer - 14.10.2014

This makes your icon invisible on map.
pawn Код:
SetPlayerColor(playerid, 0xFFFFFF00);



Re: Map BLIP - Greaper - 14.10.2014

what color is that?

But How?