SA-MP Forums Archive
[HELP]Mapmarkers unpossible to find in Script - 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: [HELP]Mapmarkers unpossible to find in Script (/showthread.php?tid=74102)



[HELP]Mapmarkers unpossible to find in Script - Trooper[Y] - 19.04.2009

So we bought a new Serverscript.
But now everyone can see each other marked on the Map.....
I searched for "marker" in the Script and found following condition in the "OnPlayerSpawn" Function:
Код:
//	if(MapIconsShown[playerid] != 1)
	{
//	  MapIconsShown[playerid] = 1;
	  for(new i = 0; i < sizeof(BizzInfo); i++)
		{
			//SetPlayerMapIcon(playerid,i + 1,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ],36,COLOR_LIGHTRED);
		}
		for(new i = 0; i < sizeof(SBizzInfo); i++)
		{
		  //SetPlayerMapIcon(playerid,i + 20,SBizzInfo[i][sbEntranceX],SBizzInfo[i][sbEntranceY],SBizzInfo[i][sbEntranceZ],36,COLOR_LIGHTRED);
		}
	}
It looks like this solves our problem,but it doesn`t.
As you can see, i commented out the Markers, but it still doesn`t work

Can you tell me ANY command which can be (mis)used to detect players on the minimap/map/radar ?
Like SetPlayerMapIcon, so that i can search for it....


Re: [HELP]Mapmarkers unpossible to find in Script - Rks25 - 19.04.2009

you can't remove existing icons..


Re: [HELP]Mapmarkers unpossible to find in Script - Trooper[Y] - 19.04.2009

So how define MapIcons ?
And what do i have to comment to turn it out ?


Re: [HELP]Mapmarkers unpossible to find in Script - ICECOLDKILLAK8 - 19.04.2009

AllowPlayerMarkers(1)?


Re: [HELP]Mapmarkers unpossible to find in Script - Trooper[Y] - 19.04.2009

Can`t find it in the Script...


Re: [HELP]Mapmarkers unpossible to find in Script - ICECOLDKILLAK8 - 19.04.2009

Search PlayerMarkers in your script and see what you can find, Post what you find here