Disable map/hide players position on map - 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: Disable map/hide players position on map (
/showthread.php?tid=446529)
Disable map/hide players position on map -
BruceLei - 26.06.2013
Hey guys,
I was wondering if it is possible to hide the players position (the arrow icon) on the big map. If that isn't an option is it possible to deny the player access to the map entirely?
I would like to design my own navigation system for fishermen that are out in the ocean. But the way it is now, looking at the map even so they are out of map boundaries they are still able to tell their x (exclusive-)or y coordinates.
Thanks in advance for any help!
Re: Disable map/hide players position on map -
Elietje28 - 27.06.2013
Put this in OnPlayerSpawn:
Код:
public OnPlayerSpawn(playerid)
{
ShowPlayerMarkers(0);
return 1;
}
So with this code, the player marker on the radar won't be visible anymore.
Elietje28
Re: Disable map/hide players position on map -
GODEX - 27.06.2013
You are not able to disable the mini map, Its there for good. Its not a SA-MP feature its GTA SA.
Only way for this to work, is by Setting a Black Gang Zone color over the whole area. Meaning it hides the maps inside viewing.
Also for please colors, you can just do a simple SetPlayerColor(playerid, -1);
Does the same thing as the guy above