Jump to content

setVehicleHandling


PaiN^

Recommended Posts

what do you mean by how to use it !

The syntax is:

bool setVehicleHandling ( element theVehicle, string property, var value ) 

It says in the wiki that the value of the centerMass property is a table .

I want an example of how to do that !, I tried this but it didn't work :

local Table = { 
        [0.1] = posX, [0.3] = posZ, [-0.15] = posY 
    } 
  
setVehicleHandling ( theVehicle, 'centerMass', Table ) 

No errors in debug !

Link to comment

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...