Unable to use ox_fuel
Closed this issue · 3 comments
TaakoOfficial commented
SCRIPT ERROR: @pengu_gruppe6delivery/client/delivery.lua:268: No such export SetFuel in resource ox_fuel
PenguScript commented
That'd be because its a different export needed for that resource. Check their documentation and the error line will be the line to replace with their export
TaakoOfficial commented
Yes I set their export still no luck
TaakoOfficial commented
if IsPedSittingInAnyVehicle(cache.ped or PlayerPedId()) then --exports[Config.FuelResource]:SetFuel(GetVehiclePedIsIn(cache.ped or PlayerPedId()), 100) Entity(stockade).state.fuel = 100 TriggerEvent('pengu_gruppe6delivery:RecieveDestinationOne', GetVehiclePedIsIn(cache.ped or PlayerPedId())) end