RQ-Dogs
  • DOCUMENTATION
    • Welcome
    • Commands
    • Common Issues
    • Inventory Setup
  • 🐶Script Configuration
    • Framework Configuration
    • Dog Access Configuration
    • Notification Configuration
    • Tracking Configuration
    • Searching Configuration
    • Ped Configuration
    • GPS Configuration
    • Miscellaneous Configuration
    • Vehicle Configuration
Powered by GitBook
On this page
  • Shared.Framework
  • Shared.Item
  • Shared.ItemName
  • Shared.DisableCommand
  1. Script Configuration

Framework Configuration

Shared.Framework

This configuration option is used throughout the sv_open file to determine which framework functions should be called. RQ-Dogs supports QB-Core, QBX-Core, ESX, ND-Core & Standalone frameworks by default, but compatibility can be added for any framework in the server/sv_open.lua file.

Shared.Framework = "STANDALONE" -- STANDALONE, QB, QBX, ESX, ND, CUSTOM (Available in sv_open)

Shared.Item

RQ-Dogs allows you to make use of an item to access the dog. QB-Core, QBX-Core & ESX are supported by default, but additional frameworks can be edited in the sv_open file. This option must be set to true, and the below Shared.ItemName must be populated for this to work. When setup, players will be able to 'use' the configured item to spawn a dog.

Shared.Item = false -- Whether or not the dog can be spawned/removed by selecting an item. Framework must be QB, QBX, ESX, or CUSTOM.

Shared.ItemName

The item name that will be used if the above Shared.Item is set to true.

Shared.ItemName = "" -- The name of the item that will spawn/remove the dog, only works if Shared.Item is true.

Shared.DisableCommand

By default, players can spawn in a dog by using the /dog command, however if you want to disable this command, you can set this to true. Example use case would be only allowing players to use the dog with the item.

Shared.DisableCommand = false -- Whether or not to disable the /dog command. (If you only want to use the item)
PreviousInventory SetupNextDog Access Configuration

Last updated 9 months ago

🐶