Lab Pet V3 is a pet system for FiveM: your players buy dogs or cats, care for them, dress them up, level them up and can sell them again. It also includes a pet shop business with a boss menu and an item shop.
Features
- Pet shop with pet purchase, item shop and boss menu (members, logs and shop level are stored in the database)
- Pet needs: health, hunger, thirst and energy, refilled with the
pethealth, petfood and petthirst items
- Pet clothing: hats, glasses and leashes, with the pet models and clothing streamed by the resource
- Pet trading: list pets for sale and sell your personal pets (can be turned off in the config)
- XP and levels for your pet; according to the creator, new actions unlock as your pet levels up and bigger dogs can be trained to attack
- Commands from the menu: follow, sit, stand, sleep, return to its nest and more
- Take your pet in your car and let it out again (
/outCar)
- Walk your pet on a leash (
petrope) and play fetch with a ball (petball)
- Commands
/mypets (manual mode), /petinfo to hide the pet info and /showmyPets to show your pet’s location
- Option to let pets die permanently
Requirements
- QBCore-style item setup and
qb-target (set in shared/config.lua)
mysql-async (the config also lists oxmysql and ghmattimysql)
- Optional pet shop map: https://github.com/BaziForYou/petshop_map-fivem
Installation
- Drag and drop the downloaded folder into your
resources directory and keep the name lab-petv3.
- Import
pets.sql (creates the frkn_pet and frkn_petshop tables).
- Copy the item images to your inventory images folder, for example
qb-inventory/html/images.
- Add the items to your
shared/items.lua:
pethealth = { name = 'pethealth', label = 'Pet Health', weight = 0, type = 'item', image = 'pethealth.png', unique = true, useable = false, shouldClose = false, combinable = nil, description = 'Pet Health' },
petfood = { name = 'petfood', label = 'Pet Food', weight = 0, type = 'item', image = 'petfood.png', unique = true, useable = false, shouldClose = false, combinable = nil, description = 'Pet Food' },
petthirst = { name = 'petthirst', label = 'Pet Thirst', weight = 0, type = 'item', image = 'health3.png', unique = true, useable = false, shouldClose = false, combinable = nil, description = 'Pet Thirst' },
petball = { name = 'petball', label = 'Pet Ball', weight = 0, type = 'item', image = 'toys3.png', unique = true, useable = false, shouldClose = false, combinable = nil, description = 'Pet Ball' },
petrope = { name = 'petrope', label = 'Pet Rope', weight = 0, type = 'item', image = 'toys2.png', unique = true, useable = false, shouldClose = false, combinable = nil, description = 'Pet Rope' },
- Replace the Discord webhook in
shared/config.lua (BotToken) with your own or remove it, then add ensure lab-petv3 to your server.cfg.