Pet Companion script for QBCore, Use an item to create a specific animal and have it follow you. Use the item again to despawn the animal.
Pressing "E" makes the animal follow you
Create the necessary items in your shared.lua Add the resource to your FiveM server and start it :)