rohKane / Kane-qb-hud-Nopixel-4.0-inspired

This is a Heavily edited of QBCore Hud by kane into Nopixel 4.0 inspired design with manual transmission.
66 stars 43 forks source link

vehicle modifiers dont work #29

Closed TheCrystalRoleplay closed 7 months ago

TheCrystalRoleplay commented 8 months ago

Ok so in order for the hud to work correctly and not allow you to go 200mph in first gear you have to enable set max vehicle speed. by doing this it disables all mechanical upgrades including tx and admin menu /maxmods it locks it to whatever speed is in the handling.meta

rohKane commented 8 months ago

What issue are you facing exactly?

NightRider18133 commented 8 months ago

I have the same issue its a problem with the manual transmission script it has a built in max vehicle speed function and it doesnt recognize when i do performance upgrades it forces the car to stay at the same max speed no matter what

NightRider18133 commented 8 months ago

i belive Its line 190 in the hrsgears that is causing it but if you -- it out then the car will go max speed in first gear

DarkBytesx commented 8 months ago

image im using qbox and it using ox_fuel by default can someone help me get this hud to work pls lastFuelCheck = math.floor(exports['LegacyFuel']:GetFuel(vehicle))

Legacy Fuel Must Start First Before the qb-hud

DarkBytesx commented 8 months ago

image im using qbox and it using ox_fuel by default can someone help me get this hud to work pls lastFuelCheck = math.floor(exports['LegacyFuel']:GetFuel(vehicle))

Legacy Fuel Must Start First Before the qb-hud

yes but i wanna use ox fuel not legacy...

change export to ox_fuel

math.floor(exports['ox_fuel']:GetFuel(vehicle))