5 Easy Steps to Add Shop Peds Qbcore Fivem

5 Easy Steps to Add Shop Peds Qbcore Fivem
$title$

Add Store Peds Qbcore Fivem.

Store Peds is a QBCore script that permits gamers to create and handle their very own outlets. With this script, gamers can promote objects to different gamers, set costs, and handle their stock. Including Store Peds to your QBCore server is a good way so as to add a brand new degree of gameplay and immersion to your server.

Configure the Store Peds Script

Step one is so as to add the Store Peds script to your QBCore server. You are able to do this by downloading the script from the QBCore boards and putting it in your server’s scripts folder. After getting added the script, you have to to configure it. The configuration file for Store Peds is positioned at config.lua. On this file, you’ll be able to set the default costs for objects, the utmost variety of objects that may be bought in a store, and the proportion of the sale value that’s taken as a fee.

Making a Store

After getting configured the Store Peds script, you can begin creating outlets. To create a store, you have to to make use of the /createped command. This command will create a brand new ped that you should utilize as a store. After getting created a ped, you have to to set its place and rotation. You are able to do this through the use of the /setpedpos and /setpedrot instructions.

How To Add Store Peds Qbcore Fivem

So as to add store peds to QBcore FiveM, you have to to edit the `qb-shops.lua` file. This file is positioned within the `qb-core` listing of your FiveM server.

After getting opened the `qb-shops.lua` file, you have to so as to add the next code to the underside of the file:

“`
AddPed(coords1, “s_m_y_shopkeep_01”)
AddPed(coords2, “s_f_y_shop_01”)
AddPed(coords3, “s_m_y_waretech_01”)
“`

On this code, `coords1`, `coords2`, and `coords3` are the coordinates of the areas the place you need the store peds to spawn. You possibly can change these coordinates to match the areas of your outlets.

After getting added the code to the `qb-shops.lua` file, you have to to avoid wasting the file and restart your FiveM server. The store peds will now spawn on the specified areas.

Folks Additionally Ask About How To Add Store Peds Qbcore Fivem

How do I modify the mannequin of a store ped?

You possibly can change the mannequin of a store ped by modifying the `qb-shops.lua` file. Within the `AddPed` perform, the second argument is the mannequin identify of the ped. You possibly can change this mannequin identify to any legitimate ped mannequin.

How do I add a customized ped to a store?

So as to add a customized ped to a store, you have to to create a brand new ped mannequin and add it to your FiveM server. After getting added the ped mannequin, you’ll be able to edit the `qb-shops.lua` file so as to add the ped to a store. Within the `AddPed` perform, the second argument is the mannequin identify of the ped. You possibly can change this mannequin identify to the identify of your customized ped.