Player controlled police dogs! Qb/Qbox/ESX support built-in, but there are only one or two functions that rely on the framework, so it should be easy for anyone to quickly extend the script for their own framework. Framework and interface files are unlocked, to be able to change commands and customize database interactions. However the rest are escrowed. Locale support built-in for escrowed files.
Features
Persistent Dog Character
- Admin commands /setPoliceDog [id] [variation] and /removePoliceDog [id] to set characters to be dogs.
- This data is stored in a database and persisted so that everytime the character loads in they will load in as a dog with full health.
- The model bundled with mana_policedogs includes a few variations to have different looking dogs.
Scent
- Players drop scent as they move around the world, which can be seen by dogs when they have their nose toggled on via bound key.
- Scent is colored individually for each player, and decays over time, fading away.
- If a player hasn’t moved far enough away from their last dropped scent, rather than drop new scent, their existing scent will have its decay reset.
- Dogs only see scent within a configurable range around them.
- Dogs do not see their own scent.
- The visual indicated for scent and its size are configurable.
- Scent is not dropped while a player is in a vehicle.
- Dog is notified when nose is toggled on/off
Cert System
Define capabilities of each dog on a player by player basis. The ‘tracking’ cert is required for a dog to use the scent feature for example.
- Can specify default certs each dog starts with
- Can add/remove certs with /addCert [id] [cert] & /removeCert [id] [cert]
- Can view certs with /certs [id]
- New exports to add/remove certs
Contraband Searching
Dogs with the appropriate cert can press a button to sniff the closest player for contraband, notifying the dog if the individual possesses contraband in amounts high enough for the dog to detect
- Can define multiple contraband lists with different certs required to detect different types of contraband
- Can define minimum amount of an item required to trigger a detection
- Added animation to show that a dog is searching someone
Code is accessible | Partially |
Subscription-based | No |
Lines (approximately) | 650 |
Requirements | ox_lib |
Support | Yes |