New releaseCompanion Pets: adopt, follow and ride alongCompanion Pets is out
Companion Pets — Adopt, follow and ride along FiveM script cover art

Activities

Companion Pets Adopt, follow and ride along

Adopt a dog or a cat at the shelter, or win over a stray with treats. It follows you, rides in your car and is still yours after a restart.

See it in action

Companion Pets FiveM script video

Overview

A pet that is actually theirs. Players adopt a dog or a cat at the animal shelter, or win over a stray with treats, and it follows them around the city. Tell it to sit, stay or come, feed it, rename it and take it for a ride in the car.

The pet is saved to the database, so it is still theirs after a relog or a server restart, and when the owner goes down it lies beside them until they are back up. No pet-shop MLO needed: the pets, the shelter and the strays use the game's own animals and base-map spots.

Pets are companions only, with no K9 work and no attacking. Built and run on our own Qbox city. QBCore is supported through the framework bridge.

Features

Animal shelter

A worker and a map blip: pick a breed, name it, pay the fee. Pet food is sold there too.

6 breeds

Husky, golden retriever, shepherd, westie, pug and cat, with prices in config.

Strays

Three spots around the city. Treats build your bond until one is yours, free.

Rides along

Takes a free passenger seat when you get in and hops out with you.

Saved pets

Still yours after a relog, a server restart or your own death.

Server-side

Spawned by the server, hunger and bond worked out on the server, every action distance-checked.

Screenshots

Companion Pets FiveM script screenshot 1 — pets ui shelterCompanion Pets FiveM script screenshot 2 — pets ui huskyCompanion Pets FiveM script screenshot 3 — pets ui carCompanion Pets FiveM script screenshot 4 — pets ui followCompanion Pets FiveM script screenshot 5 — pets ui sitCompanion Pets FiveM script screenshot 6 — pets ui strayCompanion Pets FiveM script screenshot 7 — pets ui observatory

Setup

Installation

  1. Put rr-pets in your resources folder
  2. Add the pet_food item line from the docs to your inventory
  3. Ensure it after ox_lib, oxmysql, your framework and your inventory
  4. Start the server once, the tables are created for you

Dependencies

  • ox_lib
  • oxmysql
  • qbx_core or qb-core
  • ox_inventory or the QBCore inventory
  • OneSync

Commands

CommandWhat it does
/petThe pet menu (bind a key to it)
/pet sit, stay, come, feed, car, homeShortcuts for radial menus
/petadminPets near you: bring back or delete (admins)