The system comes with basic and interesting options. Other than that, there is an option of K9 (/petattack & /petsearch) that basically your dog can attack and search for the suspect if he has drugs on him (of course you will define the items in shared.lua). More advanced updates will be released to the petshop system in the future.
- If you have any question, discord - https://discord.gg/cKt4Mpd2PQ
- Download the script and put it in the [resource] folder.
- Download qb-target & qb-input & qb-menu (if you don't have) and put it in the [resource] or [standalone] folder. (it doesn't really matter) Add the following code to your server.cfg/resouces.cfg
ensure qb-target
ensure qb-menu
ensure qb-input
ensure nc-petshop
CREATE TABLE IF NOT EXISTS `pets` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner` varchar(60) DEFAULT NULL,
`modelname` varchar(250) DEFAULT NULL,
`health` tinyint(4) NOT NULL DEFAULT 100,
`illnesses` varchar(60) NOT NULL DEFAULT 'none',
`name` varchar(255) DEFAULT 'Pet',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=218 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC;
["petfood"] = {["name"] = "petfood", ["label"] = "Pet Food", ["weight"] = 500, ["type"] = "item", ["image"] = "petfood.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Food" },
["tennisball"] = {["name"] = "tennisball", ["label"] = "Tennis Ball", ["weight"] = 500, ["type"] = "item", ["image"] = "tennisball.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Food" },
- Add the petfood.png & tennisball.png to your inventory -> html -> images
To get the map that appears in the photo (of the store): https://github.com/BaziForYou/petshop_map-fivem