Detect if the player turns left / right - 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: Detect if the player turns left / right (
/showthread.php?tid=517441)
Detect if the player turns left / right -
TheSy - 04.06.2014
Good morning.
I wonder if it is possible to know if the player turns the steering wheel of the vehicle left or right?
thank you
Re: Detect if the player turns left / right -
CaveDweller - 04.06.2014
Use
OnPlayerKeyStateChange to listen for
KEY_LEFT and KEY_RIGHT.
Re: Detect if the player turns left / right -
TheSy - 04.06.2014
I have not completed my sentence, sorry.
What I wanted to know if it was possible to keep the steering left / right without getting in the vehicle.
If I turn the wheel left and I go out, management remains left by example
Re: Detect if the player turns left / right -
Mauzen - 04.06.2014
Nope thats not possible.
Re: Detect if the player turns left / right -
Beckett - 05.06.2014
I don't think that's possible since you can turn around with your mouse.