[QB/ESX/OX][FREE] Bostra-Pet (Pet Cats, Dogs, + Add Animals)

Bostra-Pet (Petting Animals)

Features:

  • Fully Open-Source
  • Customizable
  • Custom sounds
  • Easy to configure
  • Simple resource with 0.0ms resmon
  • Intended for stationary animals as there’s no current functionality for freezing the entity.
  • Stress relief for QB or other huds with the same stress event names.

Updates:

  • 4/1: Updated to remove qb-progressbar in favor of Ox_lib. Added ox_target support so it should be standalone framework wise.

Preview

Download:GitHub

How To Install

  • Drag and drop bostra-pet
  • In your server.cfg add ensure bostra-pet
  • In sounds drag cat.ogg, dog.ogg, and animal.ogg to interact-sound/client/html/sounds
  • In config.lua change settings to your preference

Dependencies

qb-target or ox_target
interact-sound

12 Likes

Oh Lord, I like the idea, but is the goal of the script to spawn pets all over the server until they occupy most of the map?

(I think at some point the game pool would become too big and the game would crash. I seem to remember that this was 400 entries.)

No. The spawning animals isn’t a feature. I just had that because it’s hard as hell to find cats to give a preview lol.

pls add ox_core support + ox_target would love it

Yeah I could use ox lib progressbar instead and throw a config toggle for ox target.

1 Like

Pushed an update for standalone support, requiring either qb-target or ox_target. Switched to ox_lib from qb-progressbar.
Let me know if you have any issues!

what about " interact-sound " is it standalone ? because it got forked from qb-core

I think so. You have it backwards though, interact-sound was forked to be included in the qb recipe.

Looking at the source code it looks like all natives and nui.

okay thx

Hey could you add a ox_inventory shop for buying the peds and with an “pet whisle” (extra item) you get a menu where you can select what pet you have should spawn and follow you around

That’s out of scope for this script, and tbh my abilities with ox_core at least.

Not quite sure about it.

1 Like