# 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: 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://docs.rytrak.fr/scripts/firefighter-scba-system/faq/no-such-export-isfirenearby-in-resource-smartfires.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.
