madnjpn
1
So I am using this HUD ( Fivem Car-Hud - YouTube ) with esx_fuel , however the HUD only works with
LegacyFuel script which doesn’t work with esx_fuel.
There is a string in HUD’s client.lua that looks like this:
local fuel = math.floor(exports[‘LegacyFuel’]:GetFuel(GetVehiclePedIsIn(ped)))
It works perfect with LegacyFuel but then esx_fuel values are not being synced, I tried writing esx_fuel instead of LegacyFuel but it seems that there is no GetFuel(GetVehiclePedIsIn) thing in esx_fuel, any help is appreciated it seems I am missing something simple because in the video both scripts work together.
system
Closed
2
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.