Jump to content

Vehiclerotation not working


MaRvZ

Recommended Posts

Hey,

I have got the following problem:

When I try to change the rotation of my vehicle it wont work. Could someone help? 

veh = mp.vehicles.new(mp.game.joaat(VEHICLE_HASH), new mp.Vector3(G_PREVIEW_POS.x,G_PREVIEW_POS.y,G_PREVIEW_POS.z),
    {
        color : [[255,255,255],[255,255,255]],
        locked : true,
        engine : false
    });    
    veh.setRotation(-0.06228777, -0.004185589, 206.2775);

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...