Shooting range - 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: Shooting range (
/showthread.php?tid=500289)
Shooting range -
Lidor124 - 12.03.2014
How to make a shooting range in ammunation? when you shoot on body it will get down...
Re: Shooting range -
CuervO - 12.03.2014
This has become a trivial thing since the 0.3z callback:
https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot - It detects if you shot at an object and if so it'll tell you which object, so you can easily check if the player shot the targets objects and then delete them and do all the necessary stuff in your code.