IsPlayerInRangeOfPoint
#3

I tried this:
Код:
    {
 		if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
 		SendClientMessage(playerid,0xFFFFFFFF,"You are near the Stadium entrance!");
 		SetPlayerInterior(playerid, 0);
 		SetPlayerPos(playerid, 1970.3921, -1276.3458, 23.9908);
  	    return 1;
	}
Problem: It lets me teleport to the coords wherever I am, I want it to only let me once I'm at the stadium.
Anyone know how to solve this?

EDIT: Fixed!
Reply


Messages In This Thread
IsPlayerInRangeOfPoint - by Galcio - 20.11.2009, 22:11
Re: IsPlayerInRangeOfPoint - by boelie - 20.11.2009, 22:16
Re: IsPlayerInRangeOfPoint - by Galcio - 20.11.2009, 22:19

Forum Jump:


Users browsing this thread: 3 Guest(s)