Dyztiny-Project / DyzCarSystem

The vehicle HUD for FiveM NUI.
GNU General Public License v3.0
20 stars 15 forks source link

DyzCarSystem #5

Open Azzerk1 opened 3 years ago

Azzerk1 commented 3 years ago

Hey, seems like the code you provided limits the Hydra to only 22km per hour. Not sure what happening there, any fixed would be greatly appreciated :)

FlukRocker commented 3 years ago

so i found problem in line 114-115

local maxSpeed = cruiseEnabled and vehData['cruiseSpd'] or GetVehicleHandlingFloat(currVeh,"CHandlingData","fInitialDriveMaxFlatVel");
SetEntityMaxSpeed(currVeh, maxSpeed);

You can remove it. But it will affect with Car Damage and cruise speed so i will assign this but to @l3lackMegas