How can i check if object in Sphere? - 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: How can i check if object in Sphere? (
/showthread.php?tid=288367)
How can i check if object in Sphere? -
Bartando - 07.10.2011
hello
I make some like football , and i want cheack if is Ballon in Sphere (Goal)
I akcept Plugins or inludes , give me any Thinks what work :P
Re: How can i check if object in Sphere? -
Pharrel - 07.10.2011
Get the min x, min y, max x, max y from the goal and compare with GetObjectPos