[STANDALONE/QB/QBX/ESX] K9 (Police Dog)

:star: Description

Just another K9 script with more features.

:bulb: Features

  • MAIN ACTIONS
    • Attack (players or npcs)
      • Aim on player/npcs and press E
      • Tackle
        • Dog has chance to tackle person (read update 2.1 for better description)
    • Send your dog anywhere by aiming on the spot
      • Aim on spot and press G
    • Follow | Stop
      • Two types of follow:
        • Normal: Keeps close to you
        • Lead: Your dog will be walking infront of you
    • Leash
    • Enter | Exit Vehicle
      • Supports two ways of vehicle entering
        • Teleport (In | Out)
        • Realistic Animation Of Entering (Jump In | Out)
      • Dog will always prioritise sitting behind passenger, unless someone is sitting there so he will choose from other empty seats
    • Searching
      • You are able to search vehicles, players or npcs
      • Searching players can be done two ways
        • Aim on person and press option in menu, it will send the dog to players direction
        • Or just be close to any person so it will select the closest player
    • Heal | Armor | Revive
      • You can set max values of Health and Armor in cfg file
      • New registered dogs will always spawn with the max health
      • If your dog gets shot you can apply bandage on him, so it will give him some HP
        • Same with the armor
      • Health and Armor is saving into database by default, but you can disable it in cfg
      • If your dog gets killed you need to revive him unless you disable saving of hp and armor, then you can just respawn him
    • Tracking
      • With this cool feature you are able to find any hidden player
      • I was trying my best to not make it overpowered so players have a chance to get away
        • If dog finds some tracks it’s getting only current position of players that are in smell radius, so if player is still moving and if you are slow with track selection then player can easily escape
      • You can set max smell radious and dog speed of following the track
      • Cooldown starts after track selection, you can edit cooldown duration in cfg
      • It’s connected to level system (systems are explained below)

  • OTHER ACTIONS
    • Check the dogs status
    • Carry
    • Throw ball or play fetch
    • Feed (hunger and thirst system is explained below)
      • Places a bowl with food on ground that dog will find automatically
    • House
      • You can build a house for you dog or just destroy it lol
      • You can tell him to go into house or out
    • Appearance
      • There is two options, first is switching style of dog randomly and second has menu of all available components, drawables and textures that you can choose (it depends on dogs model)
      • It’s getting saved into database so your dog will always be same (unless you are not using any database)
    • Animations
      • It comes with lot of animations already that are highly improved with details to make it realistic as possible
      • You can add unlimited animations into cfg file or remove current ones
      • It’s connected to lvl system
    • Camera
      • Mount a camera to your dogs neck and watch everything from his perspective
      • This option can be disabled in cfg

  • SYSTEMS
    • Hunger, Thirst
      • Simple system that’s forcing your dog to eat, but you gotta feed him, like it was explained above
      • You can change certain options in cfg
        • Dog get damaged if he’s thirsty or hungry
        • How many percentage it takes from hunger/thirst
      • Pee | Poo
        • Dog will be forced to pee or poo after he gets feeded few times
        • Can be disabled in cfg
    • Levels (Relationship)
      • Actions that your dog makes giving him XP
      • They are saving into database
      • Depending on almost every action you wanna do with your dog
      • Each level has failing percentage so there is chance that your dog will not follow your commands when you ask him to do something
      • When you using tracking it has chance that he will lose some tracks
      • Searching also depending on fail percentage so he can fail on finding something
      • You can create unlimited levels and change fail percentages or change xp that’s given by doing action
      • Whole level system can be disabled so the dog will always follows your commands and never fails anything

  • OTHER FEATURES / THINGS
    • Instaheadshot (enable/disable)
      • You can disable instaheadshot, so if someone shot his head it will deal same damage as any bodyshots
    • Supports three types of menus
      • ox_lib or MenuV or GTA:O style (newest)
      • menuv and ox lib (just examples)
    • ACE Perms and Discord Roles
      • Alternatives for people that are not using any frameworks, so it checks for these instead of job
      • It has description in cfg file how to use it
    • Job restrictions
      • Checks for job and grades
      • They are depending on your framework or you can customise the function so it checks for something else
    • Target System (supports qb-target, ox_target and qtarget)
    • You can add unlimited dogs to menu to choose from in cfg
    • Limit for dogs per player/character can be set in cfg
    • All commands are added in cfg file so you are able to change names of commands
    • Translation settings are in cfg file
    • Option for creating blip on the map of your dog, so you’ll never lose him
    • FiveM Keybinds (you can bind any action to any key)
    • Available for QB, QBX, ESX or STANDALONE
    • And some other tiny things that can be found while playing with dog or in configuration file :heart:
    • I’ll also suggest to read through changelog/updates below

:computer: Updates

Click

1.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #4 by sheen
1.2 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #7 by sheen
1.3 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #9 by sheen
1.4 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #10 by sheen
1.5 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #12 by sheen
1.6 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #22 by sheen
1.7 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #26 by sheen
1.8 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #31 by sheen
1.8.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #39 by sheen
1.8.2 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #40 by sheen
1.9 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #41 by sheen
2.0 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #43 by sheen
2.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #53 by sheen
2.1.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #54 by sheen
2.2.2 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #60 by sheen
3.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #64 by sheen
3.1.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #65 by sheen
3.1.2 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #67 by sheen
4.0 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #73 by sheen
4.1 - [STANDALONE/QB/QBX/ESX] K9 (Police Dog) - #77 by sheen

:cactus: Showcase

:open_book: NOTES

  • Script has completely opened client and server file for developers so you can implement your own code to make it work on any server
  • Searching Vehicles option is depending on your inventory system
    • Supported inventories: qb-inventory, ox_inventory, qs-inventory
  • QBCore, QBX, ESX Legacy, older ESX is supported or even standalone usage
    • You can use the script without any framework/database/inventory it will simply disable certain options like saving data or if you try to search car or player it will always say “Nothing was found”
  • Great model for K9 https://forum.cfx.re/t/how-to-german-shepherd-malinois-k9-dog-1-0-1/
  • Let me know if you missing any features or ideas
  • Read all updates above so you know what was changed/added

:moneybag: Where to purchase: Tebex

Code is accessible No (main parts are locked, rest is opened)
Subscription-based No
Lines (approximately) 9000 ±
Requirements ox_lib
Support Yes

:heart: OTHER RELEASES :heart:
Advanced Yoga (+ Meditation)
Heists Creator (+12 Missions)
AI Buddy (Police Buddy)
Player Carjacking / Pull Driver Out
QB/ESX/QBX - Cemetery
QB/ESX/QBX - Chopshop V2
QB/ESX/QBX - Chopshop V1
QB/ESX/QBX - Fights
Skydiving
QB - Job Creator
QB/ESX - Christmas Gifts

10 Likes

keep me in the loop when the video is up

1 Like

for sure! :slight_smile:

1 Like

Update 1.1

  • Added ESX version
  • Fixed few bugs with dog movement
  • and several improvements to make script better
1 Like

this k9 script is ballin! got max level dog already, adds so much emersion to k9 unit.

1 Like

I really appreciate it man! Have fun :heart:

Update 1.2

  • Fixed ‘check dog’ option in menu
  • Added settings to disable camera option from menu
  • Added function that checks the dog comply to missing options/features

Showcase Video Released → FiveM Showcase - K9 (Police Dog) - YouTube
YouTube is still taking its time with HD quality. XD

Thanks Awaken RP for recording this. AwakenRP | QB Core | Serious Roleplay | Drugs | Bankrobbery | Economy Based | Custom Gangs | Cops | Active Staff / Cfx.re

@MDMediaGroup

2 Likes

Update 1.3

  • Fixed rare bug when dog randomly walks away
  • Fixed bug when dog was stealing vehicles from NPCs when you send him very far from your position xD…
  • Improved networking between players
  • Rewrited some features to make them more optimised
  • And some minor changes were made
1 Like

Update 1.4

  • Added support for older ESX version

Coupon for 30% discount only for one of you. Enjoy :slight_smile:

XYMW-WAFC-ZX6K (edit // already used)

Update 1.5

  • Added Standalone Version
    • Version comes without searching options, lvl system, database saving, instakill and dog limit
    • It has opened file where you can restrict all k9 options or add your notify system
  • Removed qb-input as dependency
  • Fixed some mistakes

Hello,

Does this have ox_inventory support?

1 Like

Not yet… But i’m preparing update that will support it.

//but if you using ESX or QB then it should work normally with OX inventory i think, because it’s using core functions to get items from player, but searching vehicles is not done for ESX at the moment but it has opened file to implement your own code for it.

Is there an eta on that update because as soon as it drops its a for sure buy from us.

1 Like

Hopefully this week or next week…

Just bought, and it is pretty good. Any chance of adding a Tracking option?

1 Like

it won’t let me in your server

Ye it’s on my todo list, so dfntly it’s planned, i just prioritized other things for now so more people can use the script.

wtf, this is free, don’t buy it :DDD

1 Like