Stayed up and decided to make a pet shop. This is not stand alone you have to make it work with your inventory systems and such but provides events that you can call to do everything you need to. The only functionality that doesnt work is removing it from inventory on death. You can create items that call the rest of the evens though.
TriggerClientEvent("togglePetUI") - Toggles the text that shows the hunger/thirst
TriggerClientEvent("togglePet",type) - Toggles the dog, the types can be "Rottwieler","Huskey","German Shepard","Golden Retriever"
TriggerClientEvent("feedPet",true,10) - This feeds the dog, the boolean is true if food, false if water, the number is the amount
TriggerClientEvent("healPet",10) - This heals the dog if they have taken damage from malnourishment.
14 Likes
38 downloads (at my time of posting) and two hearts. One of which is mine and I didn’t even download it. Real shame when someone’s work isn’t appreciated. The reason I’ve been pulling my little things down and not putting any new stuff up.
Good job.
2 Likes
Nice idea!
Are you working on making an pet store? Where people can go and buy different style of animals?
But Good Job!
Seems like I cant spawn in my pet with “f2” menu. Any suggestions?
I might make something to work with essentials mode.
Thankyou, ill be putting more stuff out as i make it , but didnt see anything like this public so i just made it cause i was bored 
Looks really cool, but im not 100% sure how i get it to work?
Does is work for vrp?
You have to create a item in your inventory system that can call the functions/events that are in this script. Just gives you a interface to create teh pets, not the actual store.
Yeah i get that, but its that making the item to accual spawn the pet.
have tried adding it some diffrent places, like in the standard item.lua file.
And added a pet store with the diffrent items, but with no luck.
Are you using essentialmode, esx, or ?
its vrp.
its pretty much the new dunko as a base, and then i have just removed everything they have added like jobs, buildings etc.
Uhh, add me on discord Damien#8339 ill try to help you.
It wont work when i add you, can you add me perhabs?
NogetHemmeligt#5330
i want the script work with vRP to if you make it work could you
tell me how exactly i’ll be very grateful
-sorry for bad English
my discord is https://discord.gg/QyYFKhd
Just search vrp pets? Its allready made for vrp.
thank you i wasn’t know