Common Issues
Here you will most likely find a solution to any issues that you might run into during the installation process.
General Issues
Script is not detecting framework, inventory or other scripts.
Ensure the script is started after all its dependencies are loaded, for example:
...
ensure oxmysql
ensure ox_lib
ensure es_extended
ensure ox_inventory
ensure div_tape
...I want to use items but they are not working.
This issue commonly arises when a weapon managing system is active, especially if the Config.ENABLE_RIGHT_CLICK_AIMING option is enabled in your configuration.
There are two primary reasons for this conflict:
- If you are using
ox_inventory, the system is managing your custom items as weapons. To resolve this, you need to configure your ox_inventory settings to include these items in the list of ignored weapons.
Insert this into yourserver.cfgfile:
setr inventory:ignoreweapons ["WEAPON_BALL"]- A different weapon managing system on your server could be interfering. These scripts can intercept the action of aiming (right-click) or block weapon giving, which prevents the item from being used correctly.
To fix this, you should either disable theConfig.ENABLE_RIGHT_CLICK_AIMINGoption in your configuration, or adjust the settings of your weapon managing script to ensure it ignores the items you want to use.
Server Console
You lack the required entitlement to use div_tape
The asset has to be owned by the same Cfx.re account as the server's license key!
Make sure your server license key is correct and try restarting your server.
If you bought the resource on a wrong account, you can transfer it to another account on Cfx.re Portal.
Failed to verify protected resource
This usually indicates that the escrow files have been corrupted, please follow these steps:
- Ensure hidden files are copied, such as the
.fxapfile that must be included in a protected resource. - Use WinSCP instead of FileZilla.
- After applying these, download the script again and do a fresh installation.
No such export * in resource <script name>
- Make sure you're using the export with the correct script name.
- Make sure the start order of your resources is correct, for example:
...
ensure oxmysql
ensure ox_lib
ensure es_extended
ensure ox_inventory
ensure div_tape
ensure your_script
...Access denied for command add_ace
Ensure that the ox_lib resource has permission for the add_ace command
by including it in your server.cfg file.
add_ace resource.ox_lib command.add_ace allow
add_ace resource.ox_lib command.remove_ace allow
add_ace resource.ox_lib command.add_principal allow
add_ace resource.ox_lib command.remove_principal allowFollowed the steps but still facing issues?
If you have an issue, open a support ticket in our Discord server.
Inventory Integration
By following these steps, you'll enable players to interact with items in the way our script intends, ensuring proper behavior and compatibility.
Commands
This section provides a comprehensive list of all default commands, offering a detailed overview of the core functionalities available.