Getting Started

Dependencies

Before installing XSC_Evidence, ensure your server has the following resources installed and running, as they are essential for the script’s functionality:

  • QBCore – Core framework for FiveM, providing essential server functions.

  • ox_target – Enables target-based interactions for evidence props and objects.

  • ox_inventory – Provides inventory functionality, allowing for evidence collection, storage, and management.

  • ox_lib – Offers utility functions, such as progress bars and notifications, essential for player interactions and feedback.

Note: Please ensure these dependencies are installed and listed in your server’s server.cfg file. XSC_Evidence will not function correctly without them.

Downloading XSC_Evidence

After purchasing XSC_Evidence from Tebex, you’ll receive access to the asset through FiveM’s Keymaster. Follow these steps to download it:

  1. Visit FiveM Keymaster: Go to keymaster.fivem.net, and log in with the same credentials used on Tebex.

  2. Locate Your Asset: Under Purchased Assets, you’ll find XSC_Evidence. Click on it to begin the download.

  3. Download the Resource: Download the compressed XSC_Evidence resource file to your local machine.

Note: Keep this file in a secure location. Distributing paid assets violates FiveM’s and XSC_Evidence’s terms of service.

Installation Guide

Once you've downloaded XSC_Evidence, follow these steps to install it on your server:

Step 1: Unzip the Resource

Extract the downloaded file to a location in your server’s resource folder. Inside, you’ll find the following folder structure:

XSC_Evidence/
├── client/
├── server/
├── config/
├── install/
├── locales/
├── fxmanifest.lua

Step 2: Installation

  1. Open the install folder located inside the XSC_Evidence resource.

  2. Import the install.sql file into your database using your preferred SQL tool (e.g., HeidiSQL).

  3. Copy the contents of XSC_Evidence/install/images into your ox_inventory/web/images directory to ensure item images display correctly.

Step 3: Configure server.cfg

Open your server’s server.cfg file, located in the root of your server files.

Add the following line to ensure XSC_Evidence starts with the server:

ensure XSC_Evidence

Save and close the server.cfg file.

Troubleshooting Installation

If you encounter any issues during installation:

  • Verify that all dependencies (QBCore, ox_target, ox_inventory, and ox_lib) are installed and running correctly.

  • Double-check that ensure XSC_Evidence is added in your server.cfg and is located AFTER the dependencies listed above.

  • Ensure all configuration files are correctly set up without syntax errors.

For further help, join our Discord server (https://discord.gg/Sd2Kuq5FXP), where our team and community can assist you.

Last updated