> For the complete documentation index, see [llms.txt](https://docs.rytrak.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rytrak.fr/scripts/firefighter-scba-system/faq/no-such-export-isfirenearby-in-resource-smartfires.md).

# No such export IsFireNearby in resource SmartFires

<div align="left"><figure><img src="/files/wHf4sRdb8SDvYyzt7Jli" alt=""><figcaption></figcaption></figure></div>

**Why does this error occur?**

This issue typically happens when the **SmartFires** script is not installed correctly, improperly configured, or outdated. The missing export `IsFireNearby` is a required function for compatibility with **r\_scba**.

**Steps to Fix This Issue**

1. **Reinstall the SmartFires Script**
   * Download the latest version of the **SmartFires** script.
   * Replace the existing files with the fresh installation.
2. **Verify the Script Name**
   * Ensure the script is named exactly **SmartFires** in your resources folder.
   * If you prefer to use a different name, update the configuration in the **r\_scba** script:
     * Open the **r\_scba** configuration file.
     * Locate the setting referencing **SmartFires**, as shown in the example image below.
     * Replace the script name with your custom name.

![](/files/cDmIrwo2rfsjJgGcKtQa)

1. **Check for the `IsFireNearby` Export**
   * Open the file `cl_exports.lua` in the **SmartFires** script folder.
   * Confirm that the following export is present at the top of the file:
   * If the export is missing:
     * Reinstall the **SmartFires** script to ensure it includes the required export.
     * Make sure you are using the latest version of the script.
2. **Restart the Server**
   * After completing the steps above, restart your server to apply the changes.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.rytrak.fr/scripts/firefighter-scba-system/faq/no-such-export-isfirenearby-in-resource-smartfires.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
