Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nicooo

Members
  • Joined

  • Last visited

Everything posted by Nicooo

    Beautiful, would recommend it to everyone I know! 😍
  1. You should report Bugs on his Discord Server
  2. Hi, I already fixed it, forgot to "close" this Post. thx ^^
  3. http://sendvid.com/kmpv1jdu
  4. http://sendvid.com/kmpv1jdu Does anyone know why this could happen (only on my callout) thx 🙂
    Very good Callouts, they are really realistic and fun! I recommend it to everyone!
  5. Hi, i already changes the Gamefiber.Yield() to Gamefiber.Wait in the released callouts, thx Kannst auch auf Deutsch schreiben 😉
    A must have for all developers! Now I don't have to set a random location on street, that sucks ^^ THANK YOU!
  6. I'll try it, thank you
  7. Changed something, new code: Now the plugin doesn't crash anymore, but as soon as I accept the callout, the dialouge shows, but it only should when i'm near the Ped
  8. As soon as I accept this callout, LSPD:FR Crashes... using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LSPD_First_Response.Engine.Scripting; using LSPD_First_Response.Engine.Scripting.Entities; using LSPD_First_Response.Mod.Callouts; using LSPD_First_Response.Mod.API; using LSPD_First_Response.Engine; using Rage; using System.Diagnostics; using Rage.Attributes; using Rage.Native; using System.Windows.Forms; namespace City_Callouts.Callouts { [CalloutInfo("WrongParkedVehicle", CalloutProbability.High)] public class WrongParkedVehicle : Callout { public Blip SuspectBlip; public Vector3 SpawnPoint; public Vehicle SuspectVehicle; public Ped SuspectPed; public Blip VehicleBlip; public override bool OnBeforeCalloutDisplayed() { SpawnPoint = World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(700f)); ShowCalloutAreaBlipBeforeAccepting(SpawnPoint, 30f); AddMinimumDistanceCheck(20f, SpawnPoint); CalloutMessage = "Wrong Parked Vehicle"; return base.OnBeforeCalloutDisplayed(); } public override void OnCalloutDisplayed() { base.OnCalloutDisplayed(); Functions.PlayScannerAudio("WE_HAVE"); } public override bool OnCalloutAccepted() { Game.DisplayHelp("Press ~r~T~s~ to begin a conversation", 7500); Game.LocalPlayer.Character.Position.DistanceTo(SuspectPed); SuspectPed = new Ped("a_m_m_bevhills_01", SpawnPoint, 32f); VehicleBlip = new Blip(SpawnPoint); SuspectVehicle = new Vehicle("Blista", SpawnPoint); SuspectBlip = SuspectPed.AttachBlip(); SuspectBlip.IsFriendly = false; SuspectPed.IsPersistent = true; SuspectPed.BlockPermanentEvents = true; return base.OnCalloutAccepted(); } public override void Process() { base.Process(); if (Game.LocalPlayer.Character.DistanceTo(SuspectPed.Position) < 30f) Game.IsKeyDown(System.Windows.Forms.Keys.T); { Game.DisplaySubtitle("~b~Officer:~s~ Hello sir, is that your car?", 9000); GameFiber.Yield(); Game.DisplaySubtitle("~r~Suspect:~s~ Yeah, i just wanted to leave.", 7000); GameFiber.Yield(); Game.DisplaySubtitle("~b~Officer:~s~ You're not going anywhere, imagine there was a crash because of your car!.", 6500); GameFiber.Yield(); Game.DisplaySubtitle("~r~Suspect:~s~ I don't care, i just want to leave right now ok?!", 4000); GameFiber.Yield(); Game.DisplaySubtitle("~b~Officer:~s~ No, I guess you have to come with me to the PD!", 6500); GameFiber.Yield(); Game.DisplaySubtitle("~b~Suspect:~s~ No, I'm leaving now, fuck you!", 3000); GameFiber.Yield(); Game.DisplayNotification("Arrest the ~r~suspect~s~."); if (Functions.IsPedArrested(SuspectPed)); } { End(); } } public override void End() { base.End(); if (SuspectBlip.Exists()) SuspectBlip.Delete(); if (SuspectVehicle.Exists()) SuspectVehicle.Delete(); if (SuspectPed.Exists()) SuspectPed.Dismiss(); if (VehicleBlip.Exists()) VehicleBlip.Delete(); } } }

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.