Installation

📦 Installation Instructions for K9 V2 Script System

To ensure the proper functioning of the K9 Script System, you need to follow these installation instructions carefully. This system has some essential dependencies that must be installed first.


🛠️ Asset Dependencies

This asset has some mandatory dependencies that are crucial for its operation. If you do not have these dependencies, your asset may start with errors or fail to function correctly.


Dependency

Direct Link

Alternatively, for ESX, use the following dependencies:


🗄️ Database Setup

Run the following SQL command inside your database to set up the necessary table for the K9 Script System. This step is crucial for the proper functioning of the asset, so please do not skip it.

Click to view SQL Code

📦 Install Items in inventory

This system includes areas for dog-related activities, which will require specific items to be added to your inventory. Below is the code snippet to add the necessary items for the K9 Script System.

Click to view Items for qb-inventory Code
Click to view Items for ox_inventory Code

🖼️ Images Installation

In the evo-k9-v2 folder, navigate to the images directory and install all images into your inventory.

For example, in qb-inventory, you should place the images in the following location:

👉 qb-inventory\html\images

Make sure all image files are correctly placed in this folder to ensure they are accessible in your K9 Script System. 🐾


📝 Inventory Integration

You have to add the following code in your inventory

if you are using ox_inventory => modules/inventory/server.lua

add it after loadInventoryData function (line: 196)

Click to expand the code for ox_inventory

if you are using qb-inventory => server/functions.lua

Click to expand the code new qb-inventory

📌 Final Steps

Make sure you follow these instructions carefully to ensure the K9 Script System is installed correctly on your server. Enjoy training your K9 companion and enhancing your gameplay experience!

Last updated