Bridge basics

NssGtaLibs has a bridge system to use other frameworks like QBCore in the background. Currently supported frameworks are:

  • QBCore

If your framework is not supported you can create your own adapter, see Custom adapter for more information.


Custom adapter

  1. You will find in bridge/client/adapters/ and bridge/server/adapters/ files called custom.lua. These files containing stub functions that you can implement to create your own adapter for your framework. All stub functions are documented within the files.

  2. Set in config.lua the Config.Framework.Adapter variable to custom to use your custom adapter.

  3. Set in config.lua the Config.Framework.CustomAdapterResourceName variable to your framework name, e.g. esx.

Last updated

Was this helpful?