SA-MP Forums Archive
I want make the bomb . someone to stand on the spot, a bomb would work. - 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: I want make the bomb . someone to stand on the spot, a bomb would work. (/showthread.php?tid=105257)



I want make the bomb . someone to stand on the spot, a bomb would work. - uplovethai - 28.10.2009

I want make the bomb . someone to stand on the spot, a bomb would work.


Re: I want make the bomb . someone to stand on the spot, a bomb would work. - Tigerbeast11 - 28.10.2009

Use PlayerToPoint

Read wiki!


Re: I want make the bomb . someone to stand on the spot, a bomb would work. - dirkblok - 29.10.2009

or use IsPlayerInRangeOfPoint, only in 0.3

here you have the link
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint




Re: I want make the bomb . someone to stand on the spot, a bomb would work. - pagie1111 - 29.10.2009



PlayerToPoint = Slower, custom function.

IsPlayerInRangeOfPoint = Faster, 0.3 function.


Re: I want make the bomb . someone to stand on the spot, a bomb would work. - MadeMan - 29.10.2009

Make a timer to check with PlayerToPoint/IsPlayerInRangeOfPoint if somebody is close enough and then CreateExplosion.

https://sampwiki.blast.hk/wiki/CreateExplosion