Common Issues and FAQ
Common Issues
Performing a Fresh Install
When troubleshooting errors, the initial step is to perform a fresh installation, as it resolves approximately 95% of the issues reported in support tickets. Carefully follow the guide below to ensure a successful fresh install.
Executing a fresh install is a critical procedure when encountering errors, even if you have just purchased the script and this is your first installation.
Refer to the fresh install guide to access the detailed steps for performing the process.
The UI is not opening
- If the UI fails to open, do a fresh script installation as detailed above.
- If you identify any errors in your F8 or the server console, review the list of common issues below on this page to see if any of them match your situation.
- If the issue persists, it's possible that you may have skipped a step during installation or made a mistake, please double check the install steps.
No such export GetUtils in resource lc_utils
- This error may occur when
lc_utils
has not been initialized. Please check in your server console for errors in thelc_utils
file. - If
lc_utils
has been properly loaded without errors, this issue might be due to incorrect resource loading order in yourserver.cfg
. Ensure thatlc_utils
is loaded before any of its dependencies.
I cannot buy any item from the store
- Check if the item names are correctly configured in the config, and ensure that all items exist in your framework.
- If you use a custom inventory, you must change the functions to check inventory weight and give the items.
- To accomplish that, navigate to
lc_utils/custom_scripts/server/inventory.lua
, locate thegivePlayerWeapon
/givePlayerItem
functions and update it according to your inventory documentation. - Each inventory has a different way to give weapons/itens. Please refer to your inventory documentation to learn the specific method for accomplishing this.
I cannot start any job or my truck is not spawning
- Check if you have any anticheat or blacklist blocking the vehicles to spawn.
- Check if you correctly configured your keys and fuel script in the
lc_utils
script config.
The players are loosing their stores
- It happens when the owner doesn't have enough stock in his store.
- You can precisely configure it or even disable it in the config. Search for
Config.clear_stores
in your config.
I have to hotwire/lockpick the vehicles
- Your keys script has not been configured correctly. You can do that in the
lc_utils
script config. - If you dont have your key script pre-built there, it's necessary to set the config to "other" and configure the export in the
lc_utils/custom_scripts/client/keys.lua
file.
Error parsing script / Failed to load script
- Your server artifacts are likely outdated. Update your server to version 5181 or above.
- This error occurs when uploading the script with Filezilla. You must use something like WinSCP.
You lack the required entitlement to use <resource>
- Try restarting your server and make sure your server key is correct. If you bought the resource on the wrong account, you can transfer it to another account on keymaster.
Failed to verify protected resource
- Files were possibly corrupted during transfer. Ensure hidden files are copied; the .fxap file in a protected resource must be included. Some FTP programs skip these files.
- This error occurs when uploading the script with Filezilla. You must use something like WinSCP.
FAQ
Is it possible to add more stores?
- Absolutely! You possess the creative freedom to add any stores.
- Simply replicate the existing stores configured as an example to create more.
How to change the notification?
- In
lc_utils/custom_scripts/client/notification.lua
file you can find the default script notification, replace the existing notification with yours.
How to customize the UI?
- The UI's source code is unencrypted, allowing easy access to HTML, JS, and CSS files for customization. Proficiency in programming is necessary to make changes effectively.