yea but you still gotta update the event i posted in the above thread
Can you get rid of the drawtext its making all ox_libs ui’s to not show up and make it into target instead please
you can edit your own version to your liking.
this isnt my resource , i only adjusted it for what i needed in my city and it works well for us.
make sure you update the event i posted above to fix some of the issues the OP had
you can us ox in the jg garage config if needed.
or try updating his 3d text.
this has nothing to do with is 3d text tho
Well it does with this script basically the ox_lib ui’s / drawtext are poping up but for a second not even visable if im being honest because of this script, could you please make the quick edits and fix the issues please. I dont even want target if you can fix the issue!
For example illenium-appearance isnt even showing its drawtext because of this interference, if I knew how to make the edits I wouldnt even ask!
did you update the event i posted earlier in thread?
currentFuel = GetVehicleFuelLevel(vehicle)
nozle = CreateObject(GetHashKey("prop_cs_fuel_nozle"), 0, 0, 0, true, true, true) -- creates object
AttachEntityToEntity(nozle, ped, GetPedBoneIndex(ped, 0x49D9), 0.1, 0.02, 0.02, 90.0, 40.0, 170.0, true, true, false, true, 1, true) -- object is attached to left hand
TriggerServerEvent("InteractSound_SV:PlayOnSource", "pickupnozzle", 0.4)----------------pick up sound
Wait(250)
while isFueling do
Wait(500)
TriggerServerEvent("InteractSound_SV:PlayOnSource", "refuel", 0.3) ----------------------filling sound
Wait(250)
local oldFuel = DecorGetFloat(vehicle, Config.FuelDecor)
local fuelToAdd = math.random(10, 20) / 10.0
local extraCost = fuelToAdd / 1.5
if not pumpObject then
if GetAmmoInPedWeapon(ped, 883325847) - fuelToAdd * 100 >= 0 then
currentFuel = oldFuel + fuelToAdd
SetPedAmmo(ped, 883325847, math.floor(GetAmmoInPedWeapon(ped, 883325847) - fuelToAdd * 100))
else
isFueling = false
end
else
currentFuel = oldFuel + fuelToAdd
end
if currentFuel > 100.0 then
currentFuel = 100.0
isFueling = false
end
currentCost = currentCost + extraCost
if currentCash >= currentCost then
SetFuel(vehicle, currentFuel)
else
isFueling = false
end
end
if pumpObject then
TriggerServerEvent('fuel:pay', currentCost)
lib.notify({
title = 'Fuel',
description = 'Fueling is complete!',
type = 'success'
})
end
DeleteEntity(nozle) -------------------------------------------------------------------------------------------deletes nozle
currentCost = 0.0
TriggerServerEvent("InteractSound_SV:PlayOnSource", "putbacknozzle", 0.4)-----------------------------------------putback sound
Wait(250)
end)```
I had and it didnt solve it, thus I went back to legacyfuel.
i can assue theres no trojan
its the og legacy with a new extra lines of code
Update the event i posted eariler.
planing to revisit this and some new features soon
came back to post this here. After seeing what everyone was talking about (jim 3d text issue not show and others) i did a quick fix and used base qb 3d like the OG.
OX was removed temporally till i have time to debug and add some new features.
LegacyFuel.rar (19.3 KB)
The jerry cans go empty when you put them away
Same issue
i have an issue to where if the player has no cash than it still fills up the vehicle
anyone know how to make it refuel heli and boats
How you scan pls give me the link

