fxmanifest.lua using the dependencies field. When a required resource is missing or not yet started, the script will either silently fail to initialise or throw errors in your server console. Reviewing the dependency list before installing a new script saves you debugging time and prevents hard-to-trace issues in production.
How to Check a Script’s Dependencies
Open the resource folder and readfxmanifest.lua. The dependencies block lists every resource that must be running before this script starts:
fxmanifest.lua
Common Dependencies
The table below covers the dependencies you will encounter most frequently across the SH Development catalogue.Ensuring Dependencies in the Correct Order
FiveM starts resources in the order they appear inserver.cfg. Dependencies must be ensured before the scripts that need them. A safe ordering pattern looks like this:
server.cfg
Optional vs. Required Dependencies
Some dependencies are optional and only activate when you enable a related config option:qb-target/ox_target— Only needed whenConfig.Targetis set to'qb'or'ox'. If you leaveConfig.Target = false, neither resource is required.sh-notify— Only required whenConfig.Notify = 'sh'. Switch to'okok'or'custom'and you can remove it from the dependency chain.