altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

Vehicle.dirtLevel property always return 0 or 41 and setter problem #372

Closed LameuleFR closed 3 years ago

LameuleFR commented 4 years ago

Expected Behavior

Progressive Float and working Getter Serverside.

Current Behavior

The Dirt Level seems to have only two value: 0 for clean car and 41 for dirty car.

I take this value from Vehicle.DirtLevel serverside.

Steps to Reproduce

  1. Print value of DirtLevel before vehicle utilisation: 0
  2. After some run on dirt terrain
  3. DirtLevel retun 41

There is no progression.

LameuleFR commented 4 years ago

When value is 41 Set the DirtLevel to 0 serverside doens't have any effect in game.

LameuleFR commented 4 years ago

Update: Forgot what i wrote before. DirtLevel 0 is applied but we need to go out of streaming range and enter again to see the change.

C0kkie commented 3 years ago

Will be handled here https://github.com/altmp/altv-issues/issues/737

LameuleFR commented 3 years ago

The problem is still present in latest version of altV. Same behaviour as before

FabianTerhorst commented 3 years ago

Yes ofc thats why its in the list of the other issue.