Unable to use OX_fuel
TaakoOfficial opened this issue · 6 comments
TaakoOfficial commented
SCRIPT ERROR: @md-drugs/client/oxyruns.lua:26: No such export SetFuel in resource ox_fuel
Trying to use OX fuel and keep getting this error
Mustachedom commented
Ox fuel uses a different export than everyone else, look through their docs and see what their version of setfuel is and change the export
TaakoOfficial commented
Mustachedom commented
So add the export on the second option and vehicle Id is the spawned car name I think it’s oxycar
TaakoOfficial commented
So what exports Entity(oxycar).state.fuel = 100 ?
Mustachedom commented
Looks like that should work
TaakoOfficial commented
Error parsing script @md-drugs/client/oxyruns.lua in resource md-drugs: @md-drugs/client/oxyruns.lua:26: syntax error near 'Entity'
exports Entity(oxycar).state.fuel = 100