Skip to content

Commit

Permalink
Update for lspdfr 0.4.2, update .net targetting to 4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Albo1125 committed Jun 24, 2019
1 parent b3892dd commit 87c735e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions AssortedCallouts/AssortedCallouts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AssortedCallouts</RootNamespace>
<AssemblyName>AssortedCallouts</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<SccProjectName>
Expand Down Expand Up @@ -72,7 +72,7 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>dependencies\ComputerPlus.dll</HintPath>
</Reference>
<Reference Include="LSPD First Response, Version=0.3.38.5436, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="LSPD First Response, Version=0.4.39.22580, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>dependencies\LSPD First Response.dll</HintPath>
</Reference>
Expand Down
3 changes: 1 addition & 2 deletions AssortedCallouts/Callouts/PrisonerTransportRequired.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ public override bool OnCalloutAccepted()
Suspect.MakeMissionPed();

Suspect.WarpIntoVehicle(PoliceCar, PoliceCar.PassengerCapacity - 1);
Functions.SetPedAsArrested(Suspect);
Suspect.Tasks.PlayAnimation("mp_arresting", "idle", 8f, AnimationFlags.UpperBodyOnly | AnimationFlags.SecondaryTask | AnimationFlags.Loop);
Functions.SetPedAsArrested(Suspect, true);
Suspect.RelationshipGroup = "TBACKUPCRIMINAL";
MainLogic();
return base.OnCalloutAccepted();
Expand Down
4 changes: 2 additions & 2 deletions AssortedCallouts/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public override void Initialize()

}
//Dependencies
internal static Version Albo1125CommonVer = new Version("6.6.3.0");
internal static Version Albo1125CommonVer = new Version("6.6.4.0");
internal static Version MadeForGTAVersion = new Version("1.0.1604.1");
internal static string[] AudioFilesToCheckFor = new string[] { "LSPDFR/audio/scanner/Assorted Callouts Audio/Crimes/CRIME_ROBBERY.wav", "LSPDFR/audio/scanner/Assorted Callouts Audio/Crimes/CRIME_SUSPICIOUSVEHICLE.wav" };
internal static float MinimumRPHVersion = 0.51f;
internal static Version RAGENativeUIVersion = new Version("1.6.3.0");
internal static Version MadeForLSPDFRVersion = new Version("0.4.39.22580");
internal static Version MadeForLSPDFRVersion = new Version("0.4.2");

internal static string DownloadURL = "https://www.lcpdfr.com/files/file/9689-assorted-callouts-shoplifting-store-robberies-petrolgas-theft-pacific-bank-heist-hot-pursuit-traffic-stop-backup-required-illegal-immigrants-in-truck/";
internal static string FileID = "9689";
Expand Down
4 changes: 2 additions & 2 deletions AssortedCallouts/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]

0 comments on commit 87c735e

Please sign in to comment.