Wiebrendh Posted June 24, 2014 Share Posted June 24, 2014 So i was wondering if it is possible to check the amount of seats in the current car? Because that would spare me some time Link to comment Share on other sites More sharing options...
Jitnaught Posted June 24, 2014 Share Posted June 24, 2014 So i was wondering if it is possible to check the amount of seats in the current car? Because that would spare me some time There is Vehicle.PassengerSeats, which is an integer, so I'm guessing it tells you how many passenger seats there are. So just add 1 to the amount of passenger seats (the 1 is the driver seat), then you'd get the amount of seats total in the vehicle. Wiebrendh 1 Link to comment Share on other sites More sharing options...
Wiebrendh Posted June 24, 2014 Author Share Posted June 24, 2014 So i was wondering if it is possible to check the amount of seats in the current car? Because that would spare me some time There is Vehicle.PassengerSeats, which is an integer, so I'm guessing it tells you how many passenger seats there are. So just add 1 to the amount of passenger seats (the 1 is the driver seat), then you'd get the amount of seats total in the vehicle. Thanks, will take a look at this Link to comment Share on other sites More sharing options...
LordOfTheBongs Posted June 24, 2014 Share Posted June 24, 2014 yeah if passenger seats is 1 then u have 2 seats... just add 1 to the return value to count the driver seat as well Wiebrendh 1 Link to comment Share on other sites More sharing options...
Wiebrendh Posted June 24, 2014 Author Share Posted June 24, 2014 Thanks guys! Link to comment Share on other sites More sharing options...
Jitnaught Posted June 24, 2014 Share Posted June 24, 2014 No problem Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now