InZidiuZ / LegacyFuel

A simple, lightweight fuel script for FiveM
GNU General Public License v3.0
78 stars 216 forks source link

Jerry can "not enough cash" when filling car #90

Open FrequencyRoleplay opened 2 years ago

FrequencyRoleplay commented 2 years ago

using full jerry can vehicle says not enough cash. cant refuel from can.

FrequencyRoleplay commented 2 years ago

can

Tnation98 commented 2 years ago

after line 201 under the fuel level add local currentCash = QBCore.Functions.GetPlayerData().money['cash'] it fixed the problem for me image