overextended / ox_fuel

Simplistic fuel resource meant for use with ox_inventory
https://overextended.dev/ox_fuel
GNU General Public License v3.0
60 stars 77 forks source link

script error #29

Closed DonJoan closed 2 years ago

DonJoan commented 2 years ago

image

LukeWasTakenn commented 2 years ago

Any way to consistently replicate this issue? An error message in this context doesn't mean much, at all.

DonJoan commented 2 years ago

When I get into a vehicle

BaspelOp commented 2 years ago

Yes, i have same problem. When i get into a vehicle.

edecadt commented 2 years ago

I got this issue with bmx

juddisjudd commented 2 years ago

I can confirm this as well. Error happens upon entering a vehicle for the first time only. (tested with non owned cars only)

Placing print(state.fuel) on line 56 in client.lua shows first enter of car state.fuel is nil (cause of error) Entering car again, no error and print will tell you how much fuel you have.

juddisjudd commented 2 years ago

UPDATE: Pulling latest commits resolves this issue. 1.0.0 release produces error.