script not found / failed to load
❌ Error
resource xyz failed to load / script not found
📍 Context
Occurs when the server or client cannot find the script/resource. Could be caused by:
- Missing resource folder
- Typo in
server.cfgorfxmanifest.lua - Dependencies not started
✅ Solution
- Ensure the resource folder exists in
resources/. - Check
fxmanifest.luaandserver.cfgfor typos. - Start dependencies before dependent scripts.
ℹ️ Additional Information
- Can appear on server console or client console.
- Check server logs for exact missing resource.
- Use
ensure resourceNameinserver.cfgto start resources. - Verify resource names match folder names exactly (case-sensitive).