IsPlayerInRangeOfPoint
#1

Okay, I want to create a command that'll teleport me to a map I've created. But I want it only to be able to TP there if the player is at the LS stadium. I've made it this far:
Quote:

{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.843)
SendClientMessage(playerid,0xFFFFFFFF,"You are near the Stadium entrance!");
return 1;
}

I'm not sure how to continue, I guess I should type SetPlayerPos(playerid, coords where the map is); And please don't tell me to visit samp wiki. I've looked there and couldn't find what I am looking for.
I'm a noob at pawn, so please, help me out!
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: 2 Guest(s)