> 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.
