Installation

Complete installation steps for K9.

Prerequisites

Before installing the K9 Dog script, ensure you have the following dependencies:

Installation Steps

  1. Download the script from your keymaster

    • Place the K9 Dog script into your server's resources directory

  2. Ensure proper load order, make sure the script starts after:

    • Your database handler (oxmysql)

    • Your framework (QB, ESX, etc.)

    • ox_lib

  3. Configure the script

    • Open and edit the configuration file to customize the script to your needs

    • Review all available settings thoroughly before asking questions about functionality

    • If you're using QBX Framework, uncomment the QBX-specific lines in the fxmanifest.lua file

  4. ps-inventory integration (skip this step, if you not using it)

    • Add the following code to your ps-inventory/server/main.lua file:

      exports("GetTrunkItems", function(plate)
          return Trunks[plate] and Trunks[plate].items
      end)
      
      exports("GetGloveboxItems", function(plate)
          return Gloveboxes[plate] and Gloveboxes[plate].items
      end)
  5. Restart your server

    • After completing all the steps above, restart your server to apply the changes

Troubleshooting

If you encounter any issues during installation, verify that:

  • All dependencies are installed and up to date

  • The load order is correct

  • Your configuration settings are valid

Support

For additional help or questions, please refer to our Discord.

Last updated