Problem Hitman
#1

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;
			}
		}
Reply
#2

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

you need INVISIBLE Color!!

you get it lile in: LuxAdmin.pwn
Reply
#4

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)
Reply
#5

0xFFFFFF00-this is invisible color?
Reply
#6

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

if you see the command copy the colour
Reply
#7

0xFFFFFF00 this is by setplayercolor
Reply
#8

Wrong forum. This should be in Script Discussion forum
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)