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.

techgamer15

Members
  • Joined

  • Last visited

Everything posted by techgamer15

  1. Ill try adding some more.
  2. This is the entire callout code, if it helps:
  3. Ive changed it to game.localcharacter.position.distanceto and it still does it so I am completely clueless.
  4. No me neither its totally odd.
  5. Just tried that, it still does it.
  6. This code is the process() part of an objects on the road callout: public override void Process() { base.Process(); if (Game.IsKeyDown(System.Windows.Forms.Keys.End)) { Game.DisplayNotification("~g~Code 4~w~, return to patrol."); Functions.PlayScannerAudio("ATTENTION_ALL_UNITS WE_ARE_CODE_4"); End(); } if (onScene == false && Game.LocalPlayer.Character.DistanceTo(spawnPosition) < 10) { onScene = true; Game.DisplayHelp("Approach the ~p~objects~w~, and press ~b~Delete~w~ to move the objects off the road."); if(calloutArea.Exists()) { calloutArea.Delete(); } prop0Blip = prop0.AttachBlip(); prop0Blip.Color = System.Drawing.Color.Purple; prop1Blip = prop1.AttachBlip(); prop1Blip.Color = System.Drawing.Color.Purple; prop2Blip = prop2.AttachBlip(); prop2Blip.Color = System.Drawing.Color.Purple; while (!Game.IsKeyDown(System.Windows.Forms.Keys.Delete)) { Game.DisplayHelp("Press ~b~Delete~w~ to move the objects out of the road."); } Game.DisplayNotification("Please wait ~g~10 seconds~w~ for the objects to be moved from the road."); GameFiber.Sleep(10000); Game.DisplayNotification("~g~Code 4~w~, return to patrol."); Functions.PlayScannerAudio("ATTENTION_ALL_UNITS WE_ARE_CODE_4"); End(); } } However, when the if statement is done after the player reaches 10 meteres away from the object(s), the game freezes and crashes. Any ideas?
  7. Hello there, to start with have you checked out this tutorial by Albo1125 for the absoloute basics on the structure of callouts? :
  8. Excellent, I'm sure they will be awesome.
  9. Hey there, this is excellent I think you're doing a great job with this callout pack. I'm really happy to see more packs being released because it makes LSPDFR more diverse.
  10. Yeah its something I tried before but gave up because it became too tedious dealing with all the vector 3's for the cones/peds/cars/police things so I think you're doing a great job, and you have other callouts being made too so well done.
  11. Can I just say you're doing such an amazing job with this because accident callouts are a pain to make as you have so many different spawn locations for stuff. This pack has improved alot and your're doing extremely well considering you have lots of other things to do. Keep it up dude.
  12. I'm not sure thats the callouts, becuase when you press End the callout finishes. Also when you cuff them the callout should end anyway.
  13. Strange, becuase I was looking at other people's example callouts and they dismissed the suspect from the callout before the pursuit. Anyway, when I have the chance I will remove that line.
  14. EDIT:I've removed the callout for now, as it will need to be re-written. This is becuase it's one of the first I wrote and I can't seem to work out why the looping bug is happening. Also the blips weren't dissapearing for some reason, so I will be implementing it back when it is done.
  15. I am trying to use the wiki to help me integrate computer+ into my callout pack. I used the "create callout" function that is listed here: computerPlusRunning = Function.IsLSPDFRPluginRunning("ComputerPlus", new Version("1.3.0.0")); // Creates the callout within the computer if (computerPlusRunning) callID = ComputerPlusFuncs.CreateCallout("Example Callout", "EXAMPLE CALLOUT", location, (int)EResponseType.Code_3, "This is an example callout."); However, ComputerPlusFuncs says that it does not exist in the current context, and adding callID as a GUID doesn't help either. My only guess is that the API has been updated, but the wiki has not, so please may someone tell me how to first of all check if the plugin is actually running, and then create a callout becuase none of the code on the wiki is valid anymore. Many thanks.
  16. I was looking for more callouts thanks so much and Ill definitely put that on the list as it sounds like it's fun. Thanks dude. Ah yes, Computer+ integration is having me literally confused as there is a tutorial on the wiki for integrating it into callouts, but after adding the Computer+.dll as a reference, I get syntax errors relating to certain functions. I will try my absolute best to add this becuase It has actually been one of the first things I was gonna add as an update, as it really helps when on scene and you haven't a clue what you're doing lol.
  17. I reckon that's a valid reason as to why they did it actually, as it probably doesn't register it as a view if they do it from an external website.
  18. That's a shame that they did that but thank-you for checking for me. Much appreciated. 🙂
  19. As the title says, I would like to promote a YouTube video for reviewing my callout plugin : Jeff Favignano did a video with my callout plugin, and I think it would be beneficial for people to see the callouts in action first as a quick overview. At the moment, the link displays as text only, and I've seen other people embed YouTube videos on their plugins, so how might I do that? Thanks.
  20. From what kilroy95 said, I reckon it's a bug where the plugin creates loads of vehicle markers and that uses up loads of RAM etc, so I will need to investigate that and try and recreate it. Please do send me your logs if that happens again as you said.
  21. Right, I had that before whilst testing - I think other people say its a looping thing, but that particular callout doesn't have any loops. This is a rare bug as it hasn't happened to me since so if you get it again, please send me your Rage log and/or GTA log so that I can see what it is. No one else has yet mentioned this bug, but as I said it did happen to me and I can't really investigate it again unless it happens to me again. Next time it happens, please restart your game and it should be gone.
  22. Fixed that issue as of v2.0.0.0 which I'm releasing today. It will take some time for the moderators to review before the file is released to the public though.
  23. This is the code that intiates a pursuit when the outcome number is more than 80 (basically a 20% chance of a pursuit.) else if (outcomeNumber >= 80 && outcomeNumber <= 100) { suspect.BlockPermanentEvents = false; suspect.Dismiss(); Game.DisplaySubtitle("~r~Suspect~w~: Screw this, I'm taking these explosives and I'm stashing them..."); suspect.Metadata.searchPed = "~r~Explosives~w~"; pursuit = Functions.CreatePursuit(); Functions.AddPedToPursuit(pursuit, suspect); Functions.SetPursuitIsActiveForPlayer(pursuit, true); pursuitCreated = true; Game.LogTrivial("Pursuit created for SuspiciousAmmunitionPurchase callout"); } This callout is based inside an Ammunation building, however the ped does not react to it creating a pursuit. Any reason why? Is it to do with it being inside a building?
  24. Thanks that's extremely helpful for a list. @SRS Bladez - have a look at this.

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.