Jump to content

setVehicleEngineState


Snoozy

Recommended Posts

I'm trying to setVehicleEngineState(vehicle,false)

When I create a vehicle but for some reason that wont work, how come?

bool setVehicleFrozen ( vehicle theVehicle, bool freezeStatus ) 

works when I use that.

I'm running the setVehicleEngineState right after I createVehicle.

Link to comment

Yea well I've tried to set it to true, even tried to set it to true then back to false. It's just cause when the vehicle gets created the way the engine is off at that point is not really off, it's kinda on since you can drive it as soon as you enter it, if you go enter a vehicle after it's been spawned and sets the enginestate to false it will be like not able to drive at all

Link to comment

I don't think it works that way, it only disables the engine sound afaik and doesn't do anything physical. If you want to make it look like the engine doesn't work you can either freeze it or disable the vehicle controls on entering the vehicle.

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