[HELP]: 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)
+--- Thread: [HELP]: IsPlayerInRangeOfPoint (
/showthread.php?tid=478538)
[HELP]: IsPlayerInRangeOfPoint -
Areax - 30.11.2013
Hello SA:MP !
I tried something like this:
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 422.5725, 2536.5354, 10.0000 || 2233.7334, -1115.2628, 1050.8828 || 2807.6826, -1174.7570, 1025.5703 || 2365.2681, -1135.5988, 1050.8826 || 2317.7893, -1026.7645, 1050.2178))
But don't work. What's the correct way ?
Thanks.
Re: [HELP]: IsPlayerInRangeOfPoint -
Konstantinos - 30.11.2013
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 422.5725, 2536.5354, 10.0000)
|| IsPlayerInRangeOfPoint(playerid, 2.0, 2233.7334, -1115.2628, 1050.8828)
|| IsPlayerInRangeOfPoint(playerid, 2.0, 2807.6826, -1174.7570, 1025.5703)
|| IsPlayerInRangeOfPoint(playerid, 2.0, 2365.2681, -1135.5988, 1050.8826)
|| IsPlayerInRangeOfPoint(playerid, 2.0, 2317.7893, -1026.7645, 1050.2178))
Re: [HELP]: IsPlayerInRangeOfPoint -
Areax - 30.11.2013
Thanks