SA-MP Forums Archive
GetPlayerCity - 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: GetPlayerCity (/showthread.php?tid=613177)



GetPlayerCity - Ahmed21 - 25.07.2016

Hello everyone, I've downloaded a_zones include file, and it tells the name of the player's current area, but what I'm looking for is a function to tell the player's city/town (SF/LV/LS), please again don't tell me "a_zones.inc" because it doesn't tell the city, it tells the player's area.


Re: GetPlayerCity - Vince - 25.07.2016

Cities are at the bottom and are intended as a fallback in case no area was matched. So just remove all zones except the "fallback" zones and it'll work.


Re: GetPlayerCity - Ahmed21 - 25.07.2016

Quote:
Originally Posted by Vince
Посмотреть сообщение
Cities are at the bottom and are intended as a fallback in case no area was matched. So just remove all zones except the "fallback" zones and it'll work.
Okay thank you.