SA-MP Forums Archive
Add Location ,help... - 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: Add Location ,help... (/showthread.php?tid=436731)



Add Location ,help... - jimis - 12.05.2013

Hi guys,how can i add the location of a player ,to be shown down from his mini map.
For example, if a player is to Grove Street then it will be a small text "LOCATION: GROVE STREET" down of the player mini map.Could someone help me?


Thanks


Re: Add Location ,help... - Knappen - 12.05.2013

You could do it with zones, and have a textdraw that changes every time you enter a new zone. Search the forums, you will definitely find a tutorial on zones : )


Re: Add Location ,help... - AIped - 12.05.2013

you mean, when you are near grove street, a text shows location: grove street?

Well then you need the following;

-any Area include or your own isplayerinarea or onplayerenterarea function.
-Textdraws or gametext ( gametext is more easy )


Re: Add Location ,help... - Abhishek. - 12.05.2013

when you have the fs on zones
then add a textdraw under the mini map the make a timer to check the players location get the location and check the players textdraw string


Re: Add Location ,help... - jimis - 12.05.2013

Ok thanks guys ,but how i can add a text down of mini map?
Whats the code?