Need distance help!
#6

Quote:
Originally Posted by admigo
View Post
and playerid in if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z)) ?
Nope.

pawn Code:
GetPlayerPos(id, x, y, z); // get the cordinates of id processed by sscanf
if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z)) // Check if playerid is within 5 ( feets ? ) of the id processed by sscanf.
Reply


Messages In This Thread
Need distance help! - by Admigo - 28.04.2011, 16:03
Re: Need distance help! - by Cameltoe - 28.04.2011, 16:06
Re: Need distance help! - by Admigo - 28.04.2011, 16:08
Re: Need distance help! - by Antonio144 - 28.04.2011, 16:08
Re: Need distance help! - by Admigo - 28.04.2011, 16:14
Re: Need distance help! - by Cameltoe - 28.04.2011, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)