Update 1.3
Updated to Latest FX Version
New:
- Ace Permissions are not toggleable
- Default english commands
Changelog
Update 1.3
New:
Updated to Latest FX Version
- Ace Permissions are not toggleable
- Default english commands
Update 1.2
New:
-
Standalone setting (This will disable ESX functions)
– For those that want to be able to have items displayed when searching I send out an event to both client and server after the dog searches. Just intercept “K9:Export:SearchVehicle” or “K9:Export:SearchPlayer”. -
Ability to change key modifier for attacking (You still have to be aiming at a target)
-
Ability to change messages
-
Ability to change commands
-
All of this is mainly for language support
Update 1.1
Added config file. (Do not remove any key variables, only change the values of them. It allows for empty arrays.)
New:
- Change detected items.
- Detect guns from the list in the config
- Change job grade
Update 1.0
Released Script
Only if standalone is disabled:
Requirements
- es_extended
- esx_inventoryhud
- esx_inventoryhud_glovebox
- esx_inventoryhud_trunk
Example of adding permission for standalone:
add_ace group.admin k9 allow
add_principal identifier.steam:000000 group.admin
You need a job with (grade_name = k9
) lowercase k (You can change this in the config.json)
Commands (You can change these in the config.json):
/k9 spawn {rott, husky, retriever, shepherd}
/k9 delete
/k9 follow
/k9 stay
/k9 attack
(You can also attack if you “Aim + Left Ctrl”)
/k9 search {vehicle, player}
/k9 enter
(Enters vehicle)
/k9 exit
(Exits vehicle).
Dog Breeds:
1: Rottweiler (Attacks on attack command)
2: Husky (Follows on attack command)
3: Retriever (Follows on attack command)
4: Shepherd (Attacks on attack command)
If you guys want a standalone script that doesn’t require ESX let me know. It just won’t have search functions or permissions.
Note: Right now the dog sits in the front passenger seat, this is due to many servers not having a dedicated K9 vehicle. You can easily change this within the code though. Or just request it enough and I will make a config.
Report any bugs please! I would like to make this nearly flawless.
To add within the ESX police menu try this: