Pet Shop Configuration
Integration
By default, the pet shop can be accessed from your pet bag menu. If you want to open the shop through another way, first disable the button in the config file by setting
WantPetShopButton = false,and then you need to trigger this event from your own script:
TriggerEvent("cdev_pets:loadShop")Enabling Ped Shop

Modifying Shop Items
Shop items are available in cdev_pets/public/config/shop.lua
key- Item id (from items.lua)When adding a pet entry, this id should be the same from pets.lua instead.
label- Only required for pet entries, otherwise automatically obtained from items.luaprice- Cost of the itemcategory- Item category on the shop, categories are in theconfig.luafile under "Shop"description- Only required for pet entries, otherwise automatically obtained from items.luacustomization- Optional for pet entries, this pet will automatically start with this customizationdrawables
["componentId"] = drawableId
textures
["componentId"] = textureId
vip- If true and if VIP enabled in the config, item will have golden highlight and only be purchaseable if has VIP statuscanBeK9- Determines if a pet is eligible to be bought as K9
Last updated