How to check in what city player is?
#3

Use this, can be useful: https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

example:

PHP код:
    if(IsPlayerInRangeOfPoint(playerid200.0XYZ)) //get the cordinate of center of LV(or any city), and put here. 200.0 is the "example range", but increase this number depending of the city.
    
{
        
SendClientMessage(playerid,0xFFFFFFFF,"You are near of Las Venturas!"); //Functions, SendClientMessage is a example.
    

Reply


Messages In This Thread
How to check in what city player is? - by Metharon - 25.07.2015, 20:15
Re: How to check in what city player is? - by TenTen - 25.07.2015, 20:17
Re: How to check in what city player is? - by iMFear - 25.07.2015, 20:18
Re: How to check in what city player is? - by SickAttack - 25.07.2015, 20:38
AW: How to check in what city player is? - by Mencent - 25.07.2015, 21:22
Re: How to check in what city player is? - by Igarashi - 26.07.2015, 19:08
Re: How to check in what city player is? - by TwinkiDaBoss - 26.07.2015, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)