[LSPDFR] Search Warrant 2.6


Search Warrant by Darkmyre

Rage Plugin Hook 0.45+
DarkmyreAPI 2.7
RageNativeUI 1.5.1 (included)

Simply copy the contents of the "Files" folder to your root GTA directory. Search Warrant will be activated when you go on-duty, do not attempt to load it from the Rage console.

To use the plugin, simply stand near a pedestrian or vehicle and press F10 (or whatever key you change this to in the INI). Note that the plugin will not search a police officer or your partner (if using my Police Partner plugin). Attempting to search a police vehicle will instead obtain gear from the trunk, filling your health and armour.

This plugin allows an officer to quickly and thoroughly search any pedestrian or vehicle from one convenient key binding. Searching vehicles conducts a full search, providing the player with a report after searching all areas of the car. Available items can be customized via XML files, and include a size classification to prevent unrealistic search results. Players can even create and share their own item collections by adding a new XML file to the Search folder (Grand Theft Auto V/Plugins/LSPDFR/SearchWarrant/). When the search concludes, the game is briefly paused allowing time to absorb the search results and decide how to proceed.

Customizing Items
All of the items used by this plugin can be located in Plugins/LSPDFR/SearchWarrant/. You can either edit the provided XML files, or create a new XML file using an existing file as a template. Each item should have an entry as follows, with all fields being mandatory:

<item>a passport</item>

An items size determines where it can be found. Small and medium items can be found on peds or in any vehicle location, however peds can only carry a maximum of 1 medium item. Large items can only be found in vehicle trunks.

An items status determines if it should be highlighted in the search results screen: illegal/narcotics items are highlighted red, suspicious items are highlighted yellow, and all other items are currently unhighlighted.

Callout Integration (For Developers)
Search Warrant utilizes the Metadata property of pedestrians and vehicles to both remember search results, and provide a conventient way for plugin authors to influence the items found. Simply assign a string describing your items to one of the following Metadata items, and Search Warrant will return your string rather than randomly selecting items for that slot:

ped.Metadata.searchPed="Some items found on the ped";

vehicle.Metadata.searchDriver="Some items found on the drivers(left) side";
vehicle.Metadata.searchPassenger="Some items found on the passenger(right) side";
vehicle.Metadata.searchTrunk="Some items found in the boot/trunk";

It is not necessary to provide all search Metadata for vehicles - the plugin will randomize any that are missing. Metadata is a standard feature of LSPDFR/RPH, so there is no need to check if this plugin is installed before setting it - if it isn't, the data simply won't ever get used.

v2.5.6289: fixes compatibility issues with latest version of DarkmyreAPI

v2.6:Added new API method to place items on a ped, similar to existing vehicle method.
Added support for new item status 'explosive' - will flag item in red and set API methods for Police Partner's K9.
Added support for new item sizes: 'pocket' for small items only to be found on a ped, 'car' for items only to be found in cars.
Attempt to fix issues with peds getting stuck when trying to search the rear of a vehicle - let me know if this is still a problem.
Removed DarkmyreAPI from download to prevent version conflicts.

© Darkmyre Gaming (
Show Full Description

Eerste Upload: 1 maart 2017
Laatst bijgewerkt: 23 april 2017
Laatst Gedownload: 11 minuten geleden

All Versions

 2.6 (current)

66.840 downloads , 59 KB
1 maart 2017

47 Reacties