multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

Add Ability to Set Vehicle Wheel Rotation #3487

Open gta191977649 opened 1 week ago

gta191977649 commented 1 week ago

This PR plans to add 2 functions that allow the scripter to manipulate wheel rotation for the vehicle. The function supports both Automobile & Bike (Including BMX) This sets all wheel rotation: setVehicleWheelsRotation(vehicle vehicleElement,float rotation)

Test resource: wheel.zip

https://github.com/multitheftauto/mtasa-blue/assets/2988235/6f44756f-58b4-403d-8a7f-d792e72ac009