SA-MP Forums Archive
Problem Hitman - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Problem Hitman (/showthread.php?tid=307092)



Problem Hitman - rarmand - 29.12.2011

I have a problem to hitman agency.When i make me undercover it not dissapear me from the minimap.What is the solution?This is my command:

Код:
else if ((strcmp("Undercover", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Undercover")))
		{
		    if(under[playerid] == 0)
		    {
				SendClientMessage(playerid, COLOR_WHITE, "Undercover online.");
				SetPlayerColor(playerid, COLOR_WHITE);
                SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) | 0x000000FF ) );
                under[playerid] = 1;
			}
			else
			{
			    SendClientMessage(playerid, COLOR_GRAD1, "Undercover offline.");
			    SetPlayerMarkerForPlayer( 42, 1, ( GetPlayerColor( 1 ) | 0x0000BB00 ) );
			    SetPlayerToTeamColor(playerid);
			    under[playerid] = 0;
			}
		}



Re: Problem Hitman - N0FeaR - 29.12.2011

What you mean with it not dissapear me from the minimap? explain better and then i will help you


Re: Problem Hitman - James Coral - 29.12.2011

you need INVISIBLE Color!!

you get it lile in: LuxAdmin.pwn


Re: Problem Hitman - rarmand - 29.12.2011

I will when i make me undercover to dissapera from minimap,the icon to dissapear,and when i turn off undercover to apper me on minimap with the hitman colour(Dark Red)


Re: Problem Hitman - rarmand - 29.12.2011

0xFFFFFF00-this is invisible color?


Re: Problem Hitman - James Coral - 29.12.2011

open LuxAdmin.pwn and press CTRL + F and search INVISIBLE

if you see the command copy the colour


Re: Problem Hitman - rarmand - 29.12.2011

0xFFFFFF00 this is by setplayercolor


Re: Problem Hitman - rooney12 - 29.12.2011

Wrong forum. This should be in Script Discussion forum