Problem with GetVehicleFuelLevel

General guideline is: if you ‘need help’, do not post here. Post in the right support section instead.

WARNING: THIS IS NOT A HELP SECTION

If you post here without knowing what you’re doing you’ll most likely get suspended. You should probably instead post in:


For a good bug report you should probably include:

  1. Client (production/canary) and FXServer version
  2. What you expected to happen
  3. What actually happens
  4. Category of bug (eg. client, server, weapons, peds, native)
  5. Reproducible steps, preferably with example script(s)

Hi

I have a trouble with GetVehicleFuelLevel
When i made a GetVehicleFuelLevel, for example just after refuelling my vehicle, i can see i have 100.0 fuel
If i walk away (like 200m), and come back a minute or 2 after, and i made another GetVehicleFuelLevel, my Fuel level go to 65 for many vehicle, and to 10 for some vehicle like jugular, or others.
The entity is not despawn, and i don’t know why.

I run with Canary, on last recommanded build of FiveM.



Contradictory.