CodineDev / cdn-fuel

A functionality fuel system based off of LegacyFuel that uses PolyZones that target fueling pumps and vehicles to allow you to refuel your vehicle, as well as interact-sound to play accurate refueling sounds, Syphoning, Jerry Cans and more!
GNU General Public License v3.0
115 stars 102 forks source link

client/fuel_cl.lua line 590 attempt to compare nil with number #142

Open Scorpion7162 opened 3 days ago

Scorpion7162 commented 3 days ago

Describe the bug ^1SCRIPT ERROR: @cdn-fuel/client/fuel_cl.lua:590: attempt to compare nil with number^7 ^3> handler^7 (^5@cdn-fuel/client/fuel_cl.lua^7:590)

Attempting to fuel up any vehicle, only at the point when needing to pay.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'a gas station'
  2. attempt to fuel up
  3. See error

Expected behavior vehicle refuel animation plays

Screenshots | Video If applicable, add screenshots or video to help explain your problem. image

Additional context Add any other context about the problem here. Framework: qbx_core - having to change in config to qb-core due to error otherwise target: ox inv: ox ox lib aswell