Common errors
Fixes for the problems people run into with AW Illegal.
Most problems come from the start order, a missing item or another script of the same kind. Check these first.
!No dirty money is paid
Your inventory needs the dirty money item: black_money (ox_inventory) or markedbills (QBCore). The install/ folder has the items.
!A job says an item is missing
Add the items used in requires (default: lockpick) to your inventory.
!Police get no alert
Without cd_dispatch or ps-dispatch the built-in police alert is used. Start your dispatch script before aw_illegal.
!Admin commands do not work
Add add_ace group.admin aw_illegal.admin allow to server.cfg.
!"You lack the required entitlement to use ..." in the server console
The server runs with a license key from a different Cfx.re account than the one that bought the script. Use a license key from the buying account, or buy with the account that owns your server key. Restart the server after you change the key.
!"Failed to verify protected resource"
The protected files are damaged or changed. Download the script again from Granted Assets, upload it in binary mode (some FTP clients break files in text mode) and do not edit the escrowed files. Only config, locales, bridge and html are meant to be changed.
!The script starts but nothing happens in game
Check the start order in server.cfg. The script must start after your framework and the resources in its Requirements. Then read the server console and F8 for the first error.
!The menu does not open or looks broken
Open F8 and look for NUI errors. Make sure no other script of the same kind is running at the same time.
Still stuck? Open a ticket on Discord with your framework, the script version and the error from F8 or the server console.