IsPlayerInRangeOfPoint - 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: IsPlayerInRangeOfPoint (
/showthread.php?tid=140605)
IsPlayerInRangeOfPoint -
Freddy Z - 09.04.2010
Is the other way around of IsPlayerInRangeOfPoint "!IsPlayerInRangeOfPoint"?
if(!IsPlayerInRangeOfPoint(playerid,15,1587.5613,-2689.1929,771.5931))
{
SetPlayerPos(playerid,1587.5613,-2689.1929,771.5931);
}
return 1;
Is it possible to do this?
Re: IsPlayerInRangeOfPoint -
Correlli - 09.04.2010
Open your PAWN IDE, copy that code to your script at the function/callback where you want to use it, compile and run you server and you'll get your answer.
Re: IsPlayerInRangeOfPoint -
wafffllesss - 09.04.2010
Quote:
Originally Posted by Don Correlli
Open your PAWN IDE, copy that code to your script at the function/callback where you want to use it, compile and run you server and you'll get your answer.
|
І
Hate people that comes here to ask if something will work....