Troubleshooting

Common issues and solutions for NightRider's Development scripts.

General Issues

Script not starting

Problem

Resource fails to start or shows errors in the server console.

Solutions:

Dependencies not found

Problem

Console shows errors about missing exports or resources not found.

Solutions:

Framework not detected

Problem

Console shows "Framework not found" or similar errors.

Solutions:

Items not showing in inventory

Problem

Script items (harness, lockpick, tablet, USB keys, dirty money, etc.) don't appear in the player inventory.

Solutions:

ox_target interactions not appearing

Problem

No interaction prompts show up when looking at NPCs, objects, or target zones.

Solutions:

Database errors

Problem

SQL errors appear in the console when starting a resource.

Solutions:

Script-Specific Issues

NR_CarPlay / NR_DJ: No audio playing

⚠️ Common Issue

Audio-based scripts require xsound to be installed and started before the NightRider resource.

NR_CarPlay: Dashboard not opening

NR_CarPlay: Backup camera not working

NR_PoliceJob: No dispatch notifications

NR_PoliceJob: Mission won't complete

NR_PoliceJob: NPCs not spawning

NR_MailBoxes: Can't interact with mailboxes

NR_Tablet: Apps not showing

NR_Tablet: Tablet won't open

NR_Tablet: Items not saving in dock

NR_Tablet: Custom app not working

NR_Harness: Harness not equipping

NR_PawnShop: Can't sell items

NR_MoneyWash: Washing not starting

Recommended server.cfg Order

Dependency Load Order

Dependencies must start before NightRider scripts. Here is a recommended order:

ensure qbx_core
ensure oxmysql
ensure ox_lib
ensure ox_inventory
ensure ox_target
ensure xsound

ensure NR_PoliceJob
ensure NR_Harness
ensure NR_PawnShop
ensure NR_CarPlay
ensure NR_DJ
ensure NR_MailBoxes
ensure NR_MoneyWash
ensure NR_Tablet

Enabling Debug Mode

Most NightRider scripts include a debug option. Set Config.Debug = true in the script's config.lua to get detailed logs in the F8 console. This helps identify exactly where an issue is occurring.

Performance

Still Need Help?

If your issue isn't listed here: