Special start order in FxDK

This is an improvement of my old post in which I describe how to determine a certain starting order.

To define a specific start order in FxDK you have to define dependencies in the resource manifests of the individual scripts. How to use them is explained in the FiveM documentation.
Example:

You use mysql-async to test you database for your server and want to make sure mysql-async starts before your script. Go into the fxmanifest.lua of your script and add on the bottom of the file (the position in the file is not important)

dependency 'mysql-async'

After you have saved the file, you can restart the server. Now mysql-async will automatically start before the script in which the dependency was set. I hope this thread could help you. :slight_smile: