Adds Hold Air Roll Functionality
Changes std::max and std::min to just max and min, as it didn't compile
Also change unhooking behavior from gameWrapper->UnhookEvent("Function TAGame.RBActor_TA.PreAsyncTick"); to gameWrapper->UnhookEvent("Function TAGame.Car_TA.SetVehicleInput"); as it didn't properly disable the plugin when "Enable Mechanical Plugin" was unchecked in the Plugin menu
Awesome, thanks for the fixes and added functionality! I'll merge it into the repo. There's currently also a plugin by @kcolton which has hold air roll with some extra options if you're interested in practicing air roll car control here and here
Adds Hold Air Roll Functionality Changes std::max and std::min to just max and min, as it didn't compile Also change unhooking behavior from gameWrapper->UnhookEvent("Function TAGame.RBActor_TA.PreAsyncTick"); to gameWrapper->UnhookEvent("Function TAGame.Car_TA.SetVehicleInput"); as it didn't properly disable the plugin when "Enable Mechanical Plugin" was unchecked in the Plugin menu