Skip to content

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

@Scorpion7162

Description

@Scorpion7162

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions