No such export IsFireNearby in resource SmartFires
Last updated
Last updated
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
Reinstall the SmartFires Script
Download the latest version of the SmartFires script.
Replace the existing files with the fresh installation.
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.
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.
Restart the Server
After completing the steps above, restart your server to apply the changes.