public VehiclePersona(British_Policing_Script.VehicleRecords records) { IsRegistered = null; HasInsurance = records.Insured; Color = records.CarColour; Alert = new System.Text.RegularExpressions.Regex(@"~\w~").Replace(records.DetermineFlags(), String.Empty); HasValidEmissions = records.HasMOT; IsOffroadOnly = records.HasSORN; IsTaxed = records.IsTaxed; RawPersona = records; }
public static void RunLicencePlateCheck(Vehicle veh) { British_Policing_Script.VehicleRecords recs = British_Policing_Script.API.Functions.GetVehicleRecords(veh); recs.RunPlateCheck(); }