altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

Handling API driveMaxFlatVel is partially broken

Open xxshady opened this issue 2 years ago • 3 comments

Description of the problem

If you try to set set driveMaxFlatVel on any vehicle instance e.g. to 1000 nothing changes visually. However, alt.HandlingData works.

Reproduction steps

  • Set player into manana car
  • alt.Player.local.handling.driveMaxFlatVel = 1000
  • Nothing changed, even after restream vehicle

alt.HandlingData:

  • alt.HandlingData.getForHandlingName(alt.hash('manana')).driveMaxFlatVel = 1000
  • Restream vehicle
  • Works

Expected behaviour

Per vehicle instance Handling API should work i guess

Additional context

No response

Operating system

Windows 11

Version

13.0-dev9

xxshady avatar Aug 11 '22 23:08 xxshady

Confirmed using dev10

deluvas1911 avatar Aug 18 '22 13:08 deluvas1911

Bump. This is a really big issue for us. We can't develop any custom handlings for default cars due to this and related issues. Any streaming or Handling API calls don't work correctly on AltV. @DurtyFree recommended us to push this issue.

amazur31 avatar Mar 23 '24 23:03 amazur31

Alt.Natives.ModifyVehicleTopSpeed(vehicle, 1); <--- add this after all your handling adjustments.

profit.

have a nice day.

https://discord.com/channels/371265202378899476/576771706119520287/1258460157927755899 proofs (assuming ur in AltV disco)

TrashaPanda avatar Jul 04 '24 16:07 TrashaPanda