Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with exports.. #34

Open
TgMrP opened this issue Mar 1, 2021 · 1 comment
Open

problem with exports.. #34

TgMrP opened this issue Mar 1, 2021 · 1 comment

Comments

@TgMrP
Copy link

TgMrP commented Mar 1, 2021

when i trying to do

local fuelLevel = exports.frfuel:getCurrentFuelLevel()
exports.frfuel:addFuel(42.5)
exports.frfuel:setFuel(65)

i get an error no such export

@Peekofwar
Copy link

Peekofwar commented Oct 18, 2021

when i trying to do

local fuelLevel = exports.frfuel:getCurrentFuelLevel()
exports.frfuel:addFuel(42.5)
exports.frfuel:setFuel(65)

i get an error no such export

I wonder if it's related to the name of the resource where you're trying to grab the export from... Is the FRFuel resource named frfuel in resources? I know the getCurrentFuelLevel() export works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants