11.08.2010, 20:20
Quote:
|
The Z angle turns the car around
Try doing something with SetVehicleAngularVelocity, https://sampwiki.blast.hk/wiki/SetVehicleAngularVelocity |
Also, the angular velocity is the velocity of the car in that direction, not the position.
As regards to the KeyID of "CAPS LOCK" I assume you mean the KeyID of the horn button. OnPlayerKeyStateChange only works with San Andreas keys, not with actual keyboard keys. So if someone changes the horn button to spacebar, then spacebar would be the key to flip the car.
Anyway, the horn KeyID is not actually defined in the a_samp include, so you'll have to go in-game and do some debugging to find it yourself.


