I want to get the duration of the gear change speed in an extension, and I'm trying to get clutchInRate/clutchOutRate but I can't figure out how. I see that it's meant to be in jbeamData, but I can't get init in extensions, and I can't think of another way of getting jbeamData into my extension.
Hi! From file \lua\vehicle\controller\vehicleController\shiftLogic\manualGearbox.lua, line 660: Code: clutchHandling.clutchInRate = jbeamData.clutchInRate or 25 clutchHandling.clutchOutRate = jbeamData.clutchOutRate or 25 It seems like only a couple of vehicles have this parameter defined in jbeam, for example Autobello Piccolina Baja (for other vehicles it will be nil). If you spawn this vehicle, you can get the value by running this code in the console: Code: print(core_vehicle_manager.getPlayerVehicleData().vdata.vehicleController.clutchInRate) -- ge or print(v.data.vehicleController.clutchInRate) -- vlua