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.

CodeRepo

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    CodeRepo got a reaction from Lozano71 in Your best LSPDFR 0.4 screenshots?   
  2. Confused
    CodeRepo got a reaction from Cyan in Game Crashing and no LSPDFR tap in pause menu   
    Try renaming your mods folder to _mods
  3. Like
    Should be for ultimate backup
  4. Like
    CodeRepo got a reaction from CharlieKeyz in lspd first reponse plugin fail (crash)   
    You're missing CalloutInterfaceAPI.dll apparently

    You can download calloutinterfaceAPI.dll from here: 
    and then just take the needed file
    CountyCallouts.dll is also erroring in the log.
    so you could delete that if you want to, its not even being loaded anyway because of the error, but shouldnt be a crash reason
  5. Like
    Looks like youre missing file `LemonUI.RagePluginHook`
     
     
    https://github.com/LemonUIbyLemon/LemonUI
  6. Like
    You can add any car you want to the police station garage.  Just edit the duty_selection.xml file.
  7. Like
    CodeRepo got a reaction from BadDecisions160 in Stuck loading   
    Upload your ragepluginhook.log file
    It sounds like a mods folder issue, rename mods to _mods
  8. Confused
    CodeRepo got a reaction from LtSnoDawg69 in RPH Crashing   
    try renaming mods to _mods
  9. Confused
    CodeRepo got a reaction from LtSnoDawg69 in Game crashing when loading lspdfr   
    Hello your ragenativeUI is outdated and causing that
    Download the latest version > https://github.com/alexguirre/RAGENativeUI/releases
  10. Thanks
    CodeRepo got a reaction from aidan9999 in Game Crashing   
    You need to install PyroCommon.dll
     
    Here is mine in a .zip, just extract and place it in your root folder
     
    PyroCommon.zip
  11. Like
    CodeRepo got a reaction from UnknownBastion in Game crashing when loading lspdfr   
    my apologies big dawg
  12. Like
    CodeRepo got a reaction from nofreeusernames123 in Ped doesnt attack player   
    When using that before the attacker seems to continue chasing the victim ped until I do something to knock them over by shooting their leg, tapping them with the car etc
    if (checker == true && Game.LocalPlayer.Character.DistanceTo(_Attacker) < 20f) { _Attacker.Tasks.Wander(); _Attacker.Tasks.FightAgainst(Game.LocalPlayer.Character); Game.DisplaySubtitle("~r~~bold~I'm going to kill you!", 2); checker = false; }  
  13. Like
    CodeRepo got a reaction from nofreeusernames123 in Ped doesnt attack player   
    The attacker ped does not attack me, I want the attacker ped to attack me when I get in range (20f)
     

    public class Assault : Callout { // vehicles peds declare here for callout private Ped _Attacker, _Victim; private Vector3 _Spawnpoint; private Blip _AttackerBlip, _VictimBlip; public override bool OnBeforeCalloutDisplayed() { _Spawnpoint = World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(300f, 3000f)); ShowCalloutAreaBlipBeforeAccepting(_Spawnpoint, 30f); AddMinimumDistanceCheck(30f, _Spawnpoint); CalloutMessage = "Simple Assault"; CalloutPosition = _Spawnpoint; Functions.PlayScannerAudioUsingPosition("ATTENTION_ALL_UNITS_01 WE_HAVE_01 CITIZENS_REPORT_02 CRIME_DISTURBING_THE_PEACE_01 IN_OR_ON_POSITION", CalloutPosition); return base.OnBeforeCalloutDisplayed(); } public override bool OnCalloutAccepted() { Game.DisplayNotification("~bold~~r~DISPATCH REPORT\n~w~Multiple witnesses report a citizen has been assaulted."); _Attacker = new Ped(); _Victim = new Ped(); _Attacker.Position = _Spawnpoint; _Attacker.IsPersistent = true; _AttackerBlip = new Blip(_Attacker) { Name = "Attacker", Color = Color.Red, Scale = 0.8f }; _Attacker.Inventory.GiveNewWeapon("WEAPON_KNIFE", 1, false); //StopThePed.API.Functions.setPedAlcoholOverLimit(_Attacker, true); StopThePed.API.Functions.setPedUnderDrugsInfluence(_Attacker, true); StopThePed.API.Functions.injectPedSearchItems(_Attacker); _Attacker.Tasks.FightAgainst(_Victim); // Make the attacker fight the victim _Victim.Position = _Spawnpoint; _Victim.IsPersistent = true; _Victim.BlockPermanentEvents = true; _Victim.Tasks.ReactAndFlee(_Attacker); // Make the victim run away from the attacker _Victim.KeepTasks = true; _Victim.Health = 300; _VictimBlip = new Blip(_Victim) { Name = "Victim", Color = Color.Green, Scale = 0.8f, IsRouteEnabled = true }; _VictimBlip.EnableRoute(Color.Yellow); return base.OnCalloutAccepted(); } private bool checker = true; public override void Process() { if (!_Victim || !_Attacker) { Game.DisplaySubtitle("~b~~bold~VFC - Required peds do not exist, Ending."); End(); } if (_Attacker.IsCuffed || _Attacker.IsDead) { End(); } // the victim stops running when youre close /*if (_Victim.IsFleeing && Game.LocalPlayer.Character.DistanceTo(_Victim) < 20f) { _Victim.Tasks.ClearImmediately(); }*/ if (checker == true && Game.LocalPlayer.Character.DistanceTo(_Attacker) < 20f) { _Attacker.Tasks.Wander(); _Attacker.RelationshipGroup = RelationshipGroup.HatesPlayer; _Attacker.Tasks.FightAgainstClosestHatedTarget(25f); Game.DisplaySubtitle("~r~~bold~I'm going to kill you!", 2); checker = false; } base.Process(); } public override void End() { if (_Victim) _Victim.Dismiss(); if (_Attacker) _Attacker.Dismiss(); if (_AttackerBlip) _AttackerBlip.Delete(); if (_VictimBlip) _VictimBlip.Delete(); Game.DisplaySubtitle("VFC - Simple Assault ended and cleaned."); base.End(); } }  
  14. Love
    CodeRepo got a reaction from PTN23 in After pressing Go on duty menu disappears   
  15. Like
    If you dont want callout interface then remove its files from your gta folder, some things you may install may be dependant on callout interface.
     
    No you shouldnt put the .zip file in your games folder, you need to extract it and place its files where they are meant to go, usually calloutinterfaceAPI.dll would go in the root directory and the rest should go in /plugins/lspdfr/
  16. Like
    CodeRepo reacted to asamihitsuka in LSPDFR crashing when going on duty   
    I did it correctly. 
    I thought it may be because of plugins and removed all and added back one at a time.
    Apparently the issue was CompuLite?
    The game is working correctly now after removing just CompuLite 
  17. Thanks
    Hello, you're missing PyroCommon.dll in the base of your games folder.
    I've attached my pyrocommon.dll in an archive to this message
    PyroCommon.zip
     
    You're also missing CalloutinterfaceAPI.dll, so reinstall callout interface
  18. Like
    CodeRepo got a reaction from Cyan in when i changed my mods to _mods all my things went away   
    Thats the point of the mods folder, its so you can install your mods safely without corrupting your main files and having to reinstall gta, you have to create a new mods folder and start with your vehicles, weapons etc from scratch again
  19. Like
    Yes sir that fixed it. Thanks ❤️
     
  20. Like
    Can you spawn in a "firetruk" and a "ambulance" to see if they are the normal gta ones.
     
    If when you spawn the ones I said above, they spawn as fbi2's vehicle, could be an issue with your agency.xml or vehicle model files
     
     
     
     
  21. Like
    You need to wait for LSPDFR and ragepluginhook to update
     
    https://www.lcpdfr.com/wiki/gta5/modding-after-title-update/
  22. Like
    CodeRepo reacted to GTAbear in Callout not loading   
    Oh sorry i missed that
    Does it work now?
  23. Thanks
    CodeRepo reacted to Cyan in Callout not loading   
    [6/24/2024 10:57:51 AM.641] LSPD First Response: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
    [6/24/2024 10:57:51 AM.641] LSPD First Response: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     
    Did you target .NET 8 😕? RPH and LSPDFR are .NET Framework projects (4.7.2).
  24. Like
    CodeRepo reacted to Cyan in Callout not loading   
    .NET Class Library template appears separate from .NET, as it's practically a separate thing.

  25. Like
    I ended up editing the SpecialUnits.xml in the Ultimate Backup folder and changed the response vehicle from FIB2 to Firetruk and Ambulance. it seemed to fix the problem
     

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.