Mustachedom/md-drugs

Unable to use OX_fuel

TaakoOfficial opened this issue · 6 comments

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

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

chrome_wHLkAZlx7T
This ius all thats in their docs

So add the export on the second option and vehicle Id is the spawned car name I think it’s oxycar

So what exports Entity(oxycar).state.fuel = 100 ?

Looks like that should work

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