PDA

View Full Version : Detect if the player turns left / right


TheSy
04/06/2014, 11:28 PM
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

CaveDweller
04/06/2014, 11:30 PM
Use OnPlayerKeyStateChange (http://wiki.sa-mp.com/wiki/OnPlayerKeyStateChange) to listen for KEY_LEFT and KEY_RIGHT (http://wiki.sa-mp.com/wiki/Keys).

TheSy
04/06/2014, 11:38 PM
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

Mauzen
04/06/2014, 11:43 PM
Nope thats not possible.

Beckett
05/06/2014, 12:12 AM
I don't think that's possible since you can turn around with your mouse.