lfpayne / FivePD-K9-Plugin

A K9 Script that interacts with FivePD to allow the use of information loaded by FivePD for Pedestrians and Vehicles. This Script allows for a Bomb Sniffing K9 and a Drug Sniffing K9.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin Information

Aiming a gun at a Pedestrian and pressing 'H' will send the dog to take down the targeted suspect. Downed suspect can be revived.
Default Keybind is F9 - key can be rebound by individual user in FiveM Keybinds.
A SUV must be used or the dog will have problems entering/exiting the vehicle, due to animation limitations.
Config allows server owner to change dog model to any model they want.
Config allows server owner to add or remove drugs/bombs from the list of detected items.

Set Up

Place the compiled .dll file in the fivepd/plugins/k9/ folder along with the config.json file provided in this github repo.

Next add the line './plugins/**/*.json', somewhere around line 20 to the file fivepd/fxmanifest.lua.

Plugin Load Error

Error Screenshot

This error will occur when the player loads into the game and the K9 plugin attempts to load. If you are getting this you did not edit the fivepd/fxmanifest.lua file. The file must be edited to include searching within folders in the fivepd/plugins folder. To add this functionality add the line './plugins/**/*.json', somewhere around line 20.

About

A K9 Script that interacts with FivePD to allow the use of information loaded by FivePD for Pedestrians and Vehicles. This Script allows for a Bomb Sniffing K9 and a Drug Sniffing K9.


Languages

Language:C# 100.0%