Making "Hunter" unable to shoot rockets. - 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: Making "Hunter" unable to shoot rockets. (
/showthread.php?tid=484489)
Making "Hunter" unable to shoot rockets. -
Fredrik - 30.12.2013
Is it possible to get a filterscript which makes Hunters / Hydras / Tanks unable to actually shoot others? Or make their rockets not do any damage to other people / cars?
Thanks!
Re: Making "Hunter" unable to shoot rockets. -
Pottus - 31.12.2013
Well, we placed attached objects on the hunter so if you try and shoot rockets you blow yourself up.
Re: Making "Hunter" unable to shoot rockets. -
Hansrutger - 31.12.2013
Quote:
Originally Posted by [uL]Pottus
Well, we placed attached objects on the hunter so if you try and shoot rockets you blow yourself up.
|
Haha win much! xD
OT: Dunno' if possible. It's like saying that a desert eagle may no longer shoot bullets. :S
Re: Making "Hunter" unable to shoot rockets. -
Fredrik - 03.01.2014
I was on a TDM server, where it shot the rocket - but only the player flying it would see it / take damage from it.
Re: Making "Hunter" unable to shoot rockets. -
driftg0d - 03.01.2014
You might be able to do sth with "OnPlayerTakeDamage", recognizing the source from which the damage is coming from and make it have no effect on other players' health and armor.
The other idea I have is to simply return 0, when the player is in those vehicles and presses the "fire" key.
Re: Making "Hunter" unable to shoot rockets. -
[EnErGyS]KING - 03.01.2014
https://sampforum.blast.hk/showthread.php?tid=311067 Search...