SA-MP Forums Archive
Detecting if players in city - 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: Detecting if players in city (/showthread.php?tid=195290)



Detecting if players in city - MWF2 - 02.12.2010

Can someone help me come up with a way to detect if a player is in a certain city? So say Los santos.


How can I detect to see if a player is in los santos, and if he isn't it also detects that he isn't. I plan on taking this and making it for all the citys (SF, LV) and then making something cool out of it.


Just need to figure out how I could do this? Can someone help me out.


Re: Detecting if players in city - Retardedwolf - 02.12.2010

wsfm ( willsuckformoney ) has a made a kinda of include for cities. SSSSSSSSSSSSSSearch please.


Re: Detecting if players in city - GaGlets(R) - 02.12.2010

Search for IsPlayerInArea function.. (include/code)


Re: Detecting if players in city - Kitten - 02.12.2010

Please search next time ....erm
https://sampforum.blast.hk/showthread.php?tid=174407