Shooting through walls - 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 through walls (
/showthread.php?tid=405005)
Shooting through walls -
Tamer - 05.01.2013
Hey guys,if any of you play COD 4 MP you probably know that when you have the ability "Deep impact" you can actually shoot throught walls,but its speed is decreased and the bullets stop by 1,5m after hitting the wall at the backside. But if the player is near the walls they usually get shot.
Can anyone tell me if it is possible to make deep impact on samp aswell?
Re: Shooting through walls -
InActtiveâ„¢ - 05.01.2013
Lol, I don't think it's possible atm.. Although the feature might be added in future releases. That's something really difficult to code in my opinion..
Re: Shooting through walls -
mastermax7777 - 18.06.2013
possible.. with
https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector
but probably not reliable.. and something not easy to script
Re: Shooting through walls -
MP2 - 18.06.2013
Not possible. There's no way to detect if there's an object (wall) between two players.