Searching Configuration
Shared.EnableVehicleSearching
Whether or not the VEHICLE argument can be used on the dsearch command. This calls the vehicleHasItem function in server/sv_open.lua.
Shared.EnableVehicleSearching = true -- Whether or not the vehicle searching system should be enabled. (Supports ox_inventory, qb-inventory & Custom Logic) (Available in sv_open)Shared.EnablePlayerSearching
Whether or not the PLAYER argument can be used on the dsearch command. This calls the playerHasItem function in server/sv_open.lua.
Shared.EnablePlayerSearching = true -- Whether or not the player searching system should be enabled. (Supports ox_inventory, qb-inventory, ESX, & Custom logic) (Available in sv_open)Shared.EnableDropSearching
Whether or not the DROP argument can be used on the dsearch command. This is used to search for nearby dropped items, and only supports qb-inventory without modifying the findDrop function in server/sv_open.lua.
Shared.EnableDropSearching = true -- Whether or not to enable searching for the closest dropped item on the ground. (Supports qb_inventory & Custom Logic) (Available in sv_open)Shared.DropSearchingRadius
The radius from the player's coordinates to search for dropped items in, only relevant if the above Shared.EnableDropSearching is true. Radius is in GTA Units - roughly meters.
Shared.DropSearchingRadius = 150.0 -- The radius from the player's coordinates to look for dropped items within.Shared.SearchAllDrops
Whether or not to search for ALL dropped items. If this is false, the dog will only search for drops that contain an item from Shared.SearchItems below.
Shared.UseOldQBInventory
Whether or not you are using a 1.X.X version of QB-Inventory. Version 2.0.0 was released in May of 2024 and is supported by default.
Shared.UseOxInventory
Whether or not to prioritize ox_inventory exports over the inventory from your specified framework.
Shared.AlertAnimationLength
The length of the animation in milliseconds of the alert animation that the dog will perform after they find something while searching a player/vehicle.
Shared.SearchItems
The list of items that must be on a player or in a vehicle for the dog to alert on the player/vehicle. This list is also used if the above Shared.SearchAllDrops is false.
Last updated