Installation

SCRIPT DOWNLOAD

🔐 Logging in to the CFX Portal & Downloading Assets

Before you begin, you must log in to the official CFX portal. This is required to download any assets you've been granted access to.

📥 Downloading Your Asset

Once logged in:

  1. Go to the "Granted Assets" section. This is where all your purchased or granted resources are listed.

  2. Locate for rd-interactions.

  3. Click the "Download" button next to the asset.

⚠️ You can download the asset as many times as you need — whether it's the first time or when updates are released in the future.

🛠️ Troubleshooting Issues

If you experience any issues while starting or using the asset, be sure to check the asset's official CFX page. Common issues and solutions are often documented there, which can help resolve your problem quickly.

DOWNLOADING DEPENDENCIES

The dependencies for this asset are mandatory, so please follow the dependency guide completely and use all required files.

When downloading a dependency, ensure the file is properly unzipped and does not include "-main" at the end of its name. If it does, please remove it.

UPDATE ARTIFACT AND GAMEBUILD

How to Properly Update Artifacts and Gamebuild for Your Server

Updating to the latest artifacts and gamebuild is essential for maintaining a stable and optimized server. This ensures that you're not only running the latest features but also avoiding common server issues caused by outdated versions. Follow the steps below to properly update your server.

Step 1: Update Artifacts

Artifacts are essential components that keep your server running smoothly. To update to the latest version of the artifacts:

  1. Completely Replace Your Current Artifacts It's important to fully replace your current artifacts folder with the latest version. This ensures you're not using outdated files that could cause compatibility issues.

  2. Download the Latest Artifacts for Your Operating System You need to download the appropriate artifacts based on your server’s operating system. Use the official links below:

    Make sure to download the correct version (32-bit or 64-bit) based on your system.

Step 2: Update Gamebuild

Using the latest gamebuild is crucial for taking advantage of new features, bug fixes, and ensuring compatibility with newer mods and scripts. Outdated gamebuilds can lead to errors and instability.

  1. Edit the server.cfg File To update the gamebuild, you need to specify the version in the server configuration. Open the server.cfg file located in your server directory and add the following line:

    • Note: The number 3258 is an example. You should always use the latest gamebuild number, which you can find from the official update logs or documentation.

  2. Save and Restart Your Server After updating the server.cfg file, save your changes and restart your server for the updates to take effect.

Complete Guide

For a more detailed step-by-step guide on how to update your server, including troubleshooting tips and further instructions.

RUN RD-PHARMACYJOB

To ensure the script rd-interactions is properly loaded in the server.cfg, you need to add a line to the configuration file that starts the script when the server runs. This is typically done by adding the following line at the appropriate section in server.cfg:

INTEGRATION IN QBCORE, ESX AND OTHER FRAMEWORKS

THE PHARMACY JOB

QBCORE

go to qb-core/shared/jobs.lua

Add your job like this:

ESX

upload this sql

QBOX

qbx_core/shared/jobs.lua

Add your job like this:

ITEMS

QBCORE
ESX
OX INVENTORY

SQL

UPLOAD THE SQL

ASSET POSITION

SETUP THE SCRIPT WEBHOOK

If you want to use the opportunnities which can be given by a webhook then you will have to set it up in our assets. You can do it by changeing a value to your discord webhook in the webhook.lua file.

Last updated