[FREE] JPets: A Simple Standalone Pets Resource

JPets: A Simple Standalone Pets Resource

JPets

This is my first ever FiveM script, hope you enjoy it.

With JPets, players can spawn in a range of animals (where you can configure it) which can attack and follow. This was mostly made for vMenu servers that want to implement pets someway (but feel free to use it anywhere you want).

Usage

  • Download and put the files in your server’s resources folder and ensure it in server.cfg.
  • Configure the config.lua to your liking.
  • Now start your server and load up your game.
  • Execute /createPet <petname> – This name is set in your config.lua
  • Point at a ped to attack and press E (by default).
  • Enjoy!

There are two commands that are supported with this, those being:

  • createPet <petname> – Does what it says (pet name set in config.lua).
  • tpPet – TPs your pet (if active)

Video Preview:

Configuration

It is highly customizable with all of these options available straight away (as of 6th August 2022). I would like to actively expand this resource however and am open to any and all suggestions anyone may have!

Download Here (GITHUB)

5 Likes

Pretty cool, but for ~ 120 lines of code seems kinda like a cash grab and it doesnt even allow you to edit the code. idk could just be me. Nice release

Thank you, the main part about this is that I wanted something basic for small (mostly vMenu) servers to implement.

With the thought of the price it is now free (due to the simplicity).

Fair enough for a first release, although there is still alot to improve, maybe you should / could make a v2 version of this when you are even more experienced.
Looking forward to see future releases from you.

Thank you for the feedback!

pets don’t spawn after using command “createPet bulldog” and others

Tried this on our QBCore server. /createPet does nothing regardless which ped we use. /tpPet only get the “You don’t have an active pet” notification. Any ideas?

I will work on a fix for such, it was working fine for me.

Identified the issue, fix coming.

This has since been fixed.

Animals Don’t spawn when I enter the command /createpet panther. If anyone could help it would be much appreciated

Is there a way to make it so only admins can give peds out??? That way not everyone has attack dogs on the loose. Or if you can set ace perms to give permissions to people who can be trusted to use this.

Not sure if its just me but sends me to a 404 page when I try and download.

1 Like

OP request