MSK EngineToggle - Toggle Engine On/Off

Update v4.0.0

Script completely rewritten

  • Added Support for QBCore
  • Added Support for Standalone for Hotwire Feature
  • Added new exports toggleEngine() and toggleHotwire()
  • Changed Admin Command to work with ESX, QBCore and Standalone
  • Fixed that sometimes the engine is on for other players
  • Fixed that the Char shakes when engine is off

Github Download

1 Like

Update v4.0.1

  • Added Export getEngineState, this returns the real Enginestate
  • Fixed that the Heli Blades stop if you exit the Heli and Engine is on

MSK EngineToggle - Documentation β†’ All Exports are listed here

Github Download

1 Like

Update v4.1.0

  • Added Config.EngineFromSecondSeat
  • Added Export setVehicleDamaged
  • Added Export getVehicleDamaged
  • Added Support for Jaksam VehicleKeys
  • Updated Guides for RealisticVehicleDamage and QB-Vehiclefailure

MSK EngineToggle - Documentation β†’ All Exports are listed here

Github Download

1 Like

Update v4.1.1

Documentation
Github Download

1 Like

Update v4.1.4

  • Fixed SetVehicleDamaged function
  • Fixed a bug where you can still press w and drive even though the EngineState if off
  • Fixed Hotwire Feature
  • Fixed RegisterKeyMapping for Lockpick Hotkey
  • Added new translation
  • Removed unnecessary translations

Important
I updated the Guide for RealisticVehicleDamage and RealisticVehicleFailure so please read it again!

Documentation
Github Download

1 Like

hey man dumb question but how do I change the default key? from m to g? I know it can be keybinded but I was hoping to change the stock key.

I already did it in the config but still does not seem to change

In the FiveM Keybind Settings.

Changing a keybind in the config that has already been set on your client requires you to manually edit it once in the keybind menu.
Alternatively you could execute the unbind command (Console commands - Cfx.re Docs).

1 Like

so if I change the keybind in config that wont work? I just dont want players flying in and have to keybind and might not know how, as M is to open our phone.

Everyone that joined your server while you still had the β€œold” keybind set in the config will have to rebind it. All new players will get the new one that you set in the config.

1 Like

Update v4.2.0

  • Completely reworked the Lockpick/Hotwire Feature
  • Completely reworked the SteeringAngle Feature
  • Added new Translations to translation.lua
  • Added Export SetSteeringAngle
  • Added Export GetSteeringAngle
  • Added dependency ox_lib
  • Added dependency oxmysql

MSK EngineToggle - Documentation

1 Like

Update v4.2.1

MSK EngineToggle - Documentation

is it possible to turn off the β€œnew” sound when i start the engine? or make is little bit quiet?