IsRangeOfPoint problem
#2

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1566.8317, -1691.0072, 5.8906) && IsPlayerInRangeOfPoint(playerid, 5.0, 2497.3757, -1687.8939, 13.5221))
Should be
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1566.8317, -1691.0072, 5.8906) || IsPlayerInRangeOfPoint(playerid, 5.0, 2497.3757, -1687.8939, 13.5221))
&& means and .. you can't be in two places at the same time.. you need to use ||
|| means or ..
Reply


Messages In This Thread
IsRangeOfPoint problem - by Squirrel - 10.12.2012, 15:02
Re: IsRangeOfPoint problem - by InfiniTy. - 10.12.2012, 15:04
Re: IsRangeOfPoint problem - by you10 - 10.12.2012, 15:05
Re: IsRangeOfPoint problem - by Squirrel - 10.12.2012, 15:09

Forum Jump:


Users browsing this thread: 1 Guest(s)