sign-posts-wrenchInstallation

📦 Installation Instructions for K9 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.


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.

chevron-rightClick to view SQL Codehashtag

📦 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.

chevron-rightClick to view Items for qb-inventory Codehashtag
chevron-rightClick to view Items for ox_inventory Codehashtag

🖼️ Images Installation

In the evo-k9 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)

chevron-rightClick to expand the code for ox_inventoryhashtag

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

chevron-rightClick to expand the code new qb-inventoryhashtag

📌 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