gta6/prompts
police
Vaultadvancedpolice

K9 Unit & Scent Tracking

ESX/QBCore trainable police dog with scent tracking, bite-apprehend and a server-validated handler XP/career loop.

NON-TESTÉ — the reference Lua is syntax-validated, not run in a live FiveM server. Adapt and test on your own dev server before shipping.
Est. Lua
~90 loc
Claude
Claude Opus 4.x / Sonnet 4.x
Validation
syntax-validated
Updated
2026-06-25

Description

A trainable K9 unit: a police dog that follows its handler, scent-tracks the nearest suspect, bite-apprehends on command, and earns XP through a handler care/career loop. It is the premium LEO immersion piece that K9-heavy servers actively shop for, and quality AI-pathed K9 supply is thin.

Prompt Template

You are writing a FiveM resource for a police K9 unit that runs with ESX or QBCore via…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Expected Output

The reference Lua lives at content/expected-outputs/police/04-k9-unit-scent-tracking.lua. It implements a model-loaded dog ped that heels, sits, AI-paths to the nearest non-handler suspect,…

🔒 Eyes-only — locked prompt body

The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.

Core$49one-time
  • 60 prompts + syntax-validated reference Lua
  • Lifetime access — pay once
Most Popular · Best Value
Vault$199one-time
  • All 510 prompts — the full library
  • Per-prompt profit/trend intelligence (CSV + playbook)
  • Lifetime free updates — new niches as the market moves
Get the Vault — $199

$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.

Known Failure Modes & Corrective Prompt

  • Spoofable XP — granting XP client-side is exploitable; store and award it on the server per round-trip.
  • Invalid dog handleCreatePed without RequestModel/HasModelLoaded spawns nothing; load the model and wait.
  • Self-targeting — tracking/biting can lock onto the handler or a distant ped; exclude PlayerPedId() and clamp the radius.

Corrective re-prompt: "Load the dog model with RequestModel + HasModelLoaded before CreatePed, exclude PlayerPedId() and clamp to a 30m/3m radius when picking the track/bite target, and move handlerXP into server.lua behind isOfficer."

Framework Integration

  • ESX: ESX = exports['es_extended']:getSharedObject(); gate XP events with xPlayer.job.name == 'police'.
  • QBCore: QBCore = exports['qb-core']:GetCoreObject(); persist handlerXP to the player's metadata via Player.Functions.SetMetaData.
  • QBox: exports.qbx_core:GetPlayer(src); store K9 XP in qbx player metadata with the same gate.

Profit Potential

$250–$3500/mo on Tebex (expected ~$900). [INFERRED] priced within the $50-389 script band against the signal-scraper tebex_snapshot corpus (n=100, median seller $11.85K/mo), scaled for a rising niche.

Trend Signal

rising — strategy: MASTER-200 id-082 K9 Unit ($79, 350/1,200/3,500, NICHE); LEO-heavy servers underserved on quality AI-pathed K9.

Sales Angle

The premium LEO immersion piece for K9-heavy servers — AI-pathed tracking and a care/career loop justify the price over a static follow-pet. Recommended Tebex price $89.

Difficulty & Ship Time

advanced · ships in 1-2 days.