IF-Store Docs
DiscordYoutubeStoreMy Hosting
  • 📚Welcome To IF-Developments!
  • About us
    • 💗Support
    • 📉Common issues
    • ⁉️Terms of Service
    • ⚙️Download & Install Resources
  • Resources
    • 💰Banking V1
    • 💰Banking V2
    • 💰Redline Banking
    • 💰Banking V3
    • 🖼️HUD V1
    • 🖼️HUD V2
    • 🖼️HUD V3
    • 🖼️DPS HUD
    • 👕Luxury Clothing Store
    • 🖇️Crafting V1
    • 🐶Pets V2
    • GameShop
    • ⚙️Login/Signup
    • 🎆Redline Garage
    • 🛁Hot Tube
    • 💬Chat V1
Powered by GitBook
On this page

Was this helpful?

  1. Resources

Pets V2

Documentation of IF Pets

PreviousCrafting V1NextGameShop

Last updated 1 year ago

Was this helpful?

Supported on and servers.

SQL Structure
  • It's simple, just go into [SQL] folder and run if-pets.sql .

    • For ESX: If you're using default items structure, run esx_items.sql .

Translations

The script has a Translation system, you can create a new language if needed.

To create or edit, check shared/translations.lua

Main Config (shared/config.lua)
  • Framework: Set your Framework and core resource.

  • Target: Set your target resource and distance of it.

  • PetShops: An array containing the pet shops NPC and Blip.

  • Pets: Add/remove or edit the pets for sale.

  • Items: Create more items if you want.

Animations Config (shared/petAnimations.lua)

BE CAREFUL WITH THIS CODE

You can change(create/remove or edit) the animations of the "Big dogs, Small dogs and Cats" and edit(name, icon, category, ...) the animations that appears in the NUI (PetInteractionsAnims), take a look on the table typings.

Pet Colors Config (shared/petColors.lua)

You can change(create/remove or edit) the pet colors by model.

The native used is SetPedComponentVariation and the params are used from this config file.

ESX
QB
🐶
Page cover image