I have been searching for some function to frisk/search a ped, or a class that can store information regarding what is in a ped's inventory. Mainly I am searching for a function that will return what is in a ped's pockets, it would return the same info as when you frisk a ped. The only one that I think may relate to this is the WantedInformation class. The only place this appears in is it is returned in a function in the persona class.
public WantedInformation WantedInformation { get; }
Here is the WantedInformation class (I assume this class only relates to whenever you lose someone in a pursuit but I don't know)
public class WantedInformation
{
public WantedInformation();
public bool CanBeSearchedInManhunt { get; set; }
public bool CarriesEvidence { get; set; } // Maybe this pertains if the ped is carrying any contraband? I'm looking for something that returns all of their items.
public bool EscapedInVehicle { get; set; }
public VehicleInformation GetawayCar { get; set; }
public bool IsWantedInManhunt { get; set; }
public DateTime LastSeenUtc { get; set; }
public Vector3 LastSeenPosition { get; set; }
public void Update(Persona persona);
}