SA-MP Forums Archive
Hydra Question - 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: Hydra Question (/showthread.php?tid=325394)



Hydra Question - kickflipdude - 13.03.2012

How can I disable the auto aim on a hydra? I want it so I can just shoot it regular missles and have to aim myself



Thank you !


Re: Hydra Question - eesh - 13.03.2012

you simply can't.


Re: Hydra Question - MWF2 - 13.03.2012

There was a way I seen before, can't remember how though


Re: Hydra Question - Snipa - 13.03.2012

Quote:
Originally Posted by MWF2
Посмотреть сообщение
There was a way I seen before, can't remember how though
I highly doubt this..


Re: Hydra Question - eesh - 13.03.2012

Quote:
Originally Posted by MWF2
Посмотреть сообщение
There was a way I seen before, can't remember how though
You can try to stop the player from launching missiles by killing him by detecting key press. But there are no supporting functions/callbacks that can detect auto-aim. So no its not possible.


Re: Hydra Question - MP2 - 13.03.2012

Just detect if they press the aim and fire key in OnPlayerUpdate then return 0 if they are to stop the syncing.


AW: Hydra Question - Tigerkiller - 13.03.2012

check if the player is in a hydra and presses key fire or key aim
wait
i gonna code it for u


Re: AW: Hydra Question - MWF2 - 14.03.2012

Quote:
Originally Posted by Tigerkiller
Посмотреть сообщение
check if the player is in a hydra and presses key fire or key aim
wait
i gonna code it for u

I'd like to see this too


Re: Hydra Question - chrism11 - 14.03.2012

you used to use

toggleplayercontrollable, to false and it would make their missles disappear, if there is a way to do this again, then you could detect if space is pressed when they fire