Installation
Installation
How to Install dr-bridge
?
To install dr-bridge
in your project, follow these simple steps:
Download
dr-bridge
:Download or clone the
dr-bridge
repository from GitHub.Place the
dr-bridge
folder into yourresources/
directory of your FiveM server.
Add to
server.cfg
:Open your
server.cfg
file.Add the following line to ensure the resource is loaded before other scripts that depend on it:
Start your server:
Start your server as usual, and the
dr-bridge
resource will be loaded and ready to use.
Basic Configuration
After installation, you can configure dr-bridge
by editing the config.lua
file located in the root directory of the dr-bridge
folder. In this file, you can set various options, such as enabling/disabling debug logs.
Debugging:
Enable or disable debugging messages.
Example:
Make sure to configure these settings based on your server setup.
Adding dr-bridge
as a Dependency in Other Scripts
If you want to use dr-bridge
in other scripts, simply add it as a dependency in their fxmanifest.lua
or __resource.lua
files. For example:
Open the
fxmanifest.lua
of the script you want to integrate withdr-bridge
.Add
dr-bridge
as a dependency like this:
This ensures that your script will be able to access the functions provided by dr-bridge
.
Last updated