SA-MP Forums Archive
samp location enter? - 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: samp location enter? (/showthread.php?tid=542237)



samp location enter? - alexanderjb918 - 17.10.2014

Hey guy im wondering is it possible to do something so like when a player enters a area so like ganton at the right side of his screen it says like ganton or something like on the original game?


Re: samp location enter? - Duduloch - 17.10.2014

U need create a enum and show for player using a textdraw.

Sorry for my bad english.


Re: samp location enter? - Wizzy951 - 17.10.2014

y_areas by ****** is quite useful for your purpose!


Re: samp location enter? - Abagail - 18.10.2014

I'd recommend using an area include how-ever it can be done without. You can just use IsPlayerInRangeOfPoint but it will take a lot more work. As for actually displaying the location string, you can actually just use GameTextForPlayer. Style 1 should be what you need.