# FAQ and Troubleshooting

{% hint style="info" %}
Some special cases, advanced edits, and known questions may already be explained on the `Configuration and Scenarios` page. If your question is about disabling a scenario, adding cooldowns, changing rewards, required items, police count, locations, or other scenario behavior, check that page first.
{% endhint %}

## The Script Does Not Start Correctly

Check these first:

* Does `0r_lib` start correctly?
* Does `0r-heistpack` start correctly?
* Is your `server.cfg` start order correct?
* Are `oxmysql` and `ox_lib` installed and updated?

## You do not have a license to access this script!

This is usually related to `0r_lib`.

Check these points:

* `0r_lib` is installed
* `0r_lib` is up to date
* Your keymaster license is attached to the correct resource
* You are using the latest package version

## Where Do I Change Scenario Settings?

* Shared settings: `config/`
* Scenario settings: `config/scenarios`

## How Do I Change Localization?

The script uses `ox_lib` localization. Set the language in `server.cfg`:

```cfg
set ox:locale "tr"
```

Then add the matching locale file using the same structure as the default locale.

## Where Do I Integrate My Own Inventory or Target Script?

* Inventory: `modules/inventory/server.lua`
* Target: `modules/target/client.lua`
* Notify, progressbar, skillbar, and helper functions: `modules/utils/client.lua`
* Server-side helpers: `modules/utils/server.lua`

## Where Are The Required Items?

All required item examples are on the `Setup and Items` page.

## `weapon_hackingdevice` Does Not Work Or Cannot Be Added

This usually happens because server owners add `weapon_hackingdevice` like a normal item and forget that it must also exist in the weapon list.

If you use OX Inventory, make sure you add it to:

* `ox_inventory/data/weapons.lua`

Do not add it only to:

* `ox_inventory/data/items.lua`

Also be careful inside `weapons.lua`: OX Inventory already has both a weapon table and an ammo table in that file.

Make sure you paste `weapon_hackingdevice` into the main weapon table, not at the very bottom inside the ammo section.

This is a common mistake because some server owners copy and paste it directly to the end of the file. If you place it in the ammo table instead of the weapon table, the hacking device flow may not work correctly.

## Do I Need To Run SQL Manually?

No. `database.sql` is executed automatically.

## I Changed My Scenario Config But Nothing Happened

Check these points:

* You edited the correct file inside `config/scenarios`
* The scenario is enabled
* Required items exist
* Your integration files are not blocking the flow
* You restarted the resource after changing config

## Still Not Fixed?

Check these last:

* Resource names are correct
* Dependencies are installed and updated
* The first console error is not coming from another missing dependency
* Your framework, inventory, and target integrations match your server setup
