# Exports

If you are getting false as return, something is wrong so you can turn on Config.ServerDebug to check.

```lua
--exports.sigmafuel.setfuel(VehNetID,Fuel) (will be enabled soon)
TriggerServerEvent("sigmafuel:SetFuel", NetworkGetNetworkIdFromEntity(vehicle), fuel_level+0.0)
```

Used for setting vehicle fuel, you need to send vehicle network id and fuel amount from 0 to 100 based on your needs

```lua
--exports.sigmafuel.getfuel(VehNetID) (will be enabled soon)
GetVehicleFuelLevel(vehicle) or Entity(vehicle).state.fuel
```

Used for getting the amount of fuel in vehicle, you need to send vehicle network id.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sigma-development.gitbook.io/sigma-development/resources/sigma-fuel/exports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
