# No such export IsFireNearby in resource SmartFires

<div align="left"><figure><img src="https://2818543518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvGiawlnUQy629isMoQhj%2Fuploads%2F8MA7OgJKTOrPyozIUvDB%2Fimage.png?alt=media&#x26;token=828f9486-11f7-428c-beef-ebdff9cd1da2" 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.

![](https://2818543518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvGiawlnUQy629isMoQhj%2Fuploads%2FvIF77vRiDbifE7jJpWxA%2Fimage.png?alt=media\&token=dd663310-75d1-4c17-8d65-2eb5235b82d6)

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.
