Jump to content

[RPH] Vehicle.IsEngineOn = false - Engine keeps turning back on


Break

Recommended Posts

Hey guys, so I made a basic script allowing me to indicate and turn my engine off with my controller.

Now whenever I toggle the Engine off with the IsEngineOff property  it remains off for a second or two and then turns back on again.

 

Does anyone have an idea why?

If it helps, IsEngineOff is being invoked within an "if" argument which is within two "while" loops.

Due to the graphic nature of this post, reader discretion is advised.
lspdfrsig2njsuy.jpg

Link to comment
Share on other sites

5 minutes ago, Break said:

LSPDFR is not loaded.

 

I'm sure maybe you already did this, but double check whatever trainers you're using.  One of them might also have engine always on.

 

Edited by Kallus Rourke

I need donations to help fund my food addiction. DM for details 😂

Link to comment
Share on other sites

I just tried loading the game with no .asi scripts and only my script loaded in RPH and I still get the same result

Edited by Break

Due to the graphic nature of this post, reader discretion is advised.
lspdfrsig2njsuy.jpg

Link to comment
Share on other sites

I just figured it out:

GTA makes the character automatically start the engine, if the car is driveable. Setting isDriveable to false after shutting off the engine fixed it.

Edited by Break

Due to the graphic nature of this post, reader discretion is advised.
lspdfrsig2njsuy.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...