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.

SuperPyroManiac

Community Team
  • Joined

  • Last visited

Everything posted by SuperPyroManiac

  1. Should really adjust your assembly info. Perhaps also your credits? [assembly: AssemblyTitle("LSPDFR API Guide")] [assembly: AssemblyDescription("LSPDFR API Guide by Albo1125")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Albo1125")] [assembly: AssemblyProduct("LSPDFR API Guide")] [assembly: AssemblyCopyright("Copyright © 2016 - Albo1125")]
  2. The fn key is for the f keys, not the numbers, from my memory els doesn't use the numpad at all by default.
  3. Ideally you would just click the nuget button in Visual Studio and search RagePluginHook then install it. Boom
  4. I love files where 99% of the description is about how you will take legal action and ban users.
  5. I'm seeing a new trend of plugins including ini parser to manage their config files. Thing is, RPH has it's own system to handle this. Using ini parser is absolutely not needed. If you are one of those devs reading this, I will show how you can use RPH's system instead. First, make a simple static file such as Settings.cs in your project. In this settings file you will manage everything to do with the config, and it's pretty darn simple. I personally suggest making it static because in my own personal use case I find it better to never be instantiated. Inside this class: Simply make a bunch of public/internal declarations for the values you want. Create a LoadSettings() and optionally a SaveSettings() method. Initialize the ini file. You want to use its path. Most common is in the same path as the dll. (This requires the Rage import!) Example: Assign the values and set the defaults. You can use IntelliSense to see what is what in the ini.* Example: First string is the section name, and the second is the key name. You can have multiple keys per section. Example: The third option is the default value. This is important because if the file is missing, or broken it will use the default value. That's it for reading an ini file. All you do now is run the LoadSettings() in your main class when the plugin is loaded and it will set all of the variables to their corresponding ini value. Since the class is static, and the values are internal or public you can access them anywhere in your plugin and the value will always be correct. You can optionally edit an ini file. It's pretty much the same. You initialize the file, then you write instead of read. Here is how it can look: In this case, you can actually set those values you made in the Settings.cs and when you run the method, it will save them to the ini file. It's the exact same as reading the ini except in reverse. Here is how the important parts of my settings file look: That's it! Now we load the ini at startup by running your new load method. My example: And now those settings are loaded! Keep in mind you can run this method at anytime, so if you have a button or console command to reload the config, you can! It works live. Here is how you can access the setting in your code:
  6. Fun fact, people paid money to use stolen code from this mod.
  7. This is likely caused by a corrupted vehicle model. Not much I can do about this. Likely caused by something in the mods folder
  8. Here is some advice seeing as this plugin is growing quickly: Ini parser is not needed. RPH includes an INI system. You do not check if RNUI is installed or up to date. Best practice is to do so when you immediately launch a menu on load. You do some wild stuff like this if (!(a == "NOOSE")) { if (!(a == "LocalUnit")) { if (!(a == "Ambulance")) { if (!(a == "FireTruck")) { if (!(a == "AirUnit")) { Look into switch statements.
  9. Quite a few people disagree with you. If you have any useful feedback feel free to share it but don't be rude just to be rude.
  10. [12/16/2024 1:23:19 AM.882] These dependencies are outdated! [12/16/2024 1:23:19 AM.882] RageNativeUI.dll
  11. The mod works fine, the issue is you installing it wrong. Stop insulting these authors when the issue is with you, and not them.
  12. You are still incorrectly the version tag, this causes issues for 3rd party programs that help provide information for updates.
  13. You don't wrap your Ultimate Backup API in a wrapper, so anyone that does not have it installed will crash.
  14. Im pretty that's the way to do it yeah, then it'll pass the controller through
  15. Launch GTA through steam, then once the game intro starts tab out and open RPH manually. That should do the trick.
  16. What are you trying to do I dont understand? The error message though is because you are not passing the correct value. All of the LSPDFR backup types are: public enum EBackupUnitType { LocalUnit, StateUnit, SwatTeam, NooseTeam, AirUnit, NooseAirUnit, Ambulance, Firetruck, PrisonerTransport } The way you call it is: Functions.RequestBackup(Game.LocalPlayer.Character.Position, EBackupResponseType.Code3, EBackupUnitType.LocalUnit);
  17. Its still showing a RNUI error? Where are you installing it to? When installing it, it goes into the main GTA folder.
  18. The log you send has this issue: [12/7/2024 2:27:05 AM.893] LSPD First Response: ============================== [12/7/2024 2:27:05 AM.893] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK [12/7/2024 2:27:05 AM.893] LSPD First Response: ------------------------------ [12/7/2024 2:27:05 AM.893] LSPD First Response: Origin: Rage.SleeplessGameFiber [12/7/2024 2:27:05 AM.893] LSPD First Response: ------------------------------ [12/7/2024 2:27:05 AM.893] LSPD First Response: Exception type: System.ArgumentException [12/7/2024 2:27:05 AM.893] LSPD First Response: Exception message: address cannot be zero. [12/7/2024 2:27:05 AM.893] Parameter name: address [12/7/2024 2:27:05 AM.893] LSPD First Response: ------------------------------ [12/7/2024 2:27:05 AM.893] LSPD First Response: Inner exceptions: [12/7/2024 2:27:05 AM.893] LSPD First Response: ------------------------------ [12/7/2024 2:27:05 AM.893] LSPD First Response: Stack trace: [12/7/2024 2:27:05 AM.893] LSPD First Response: at Rage.Native.NativeFunction.CallByAddress(IntPtr address, Type returnType, NativeArgument[] arguments) [12/7/2024 2:27:05 AM.893] at Rage.Native.DynamicNativeFunction.TryInvokeMember(InvokeMemberBinder binder, Object[] args, Object& result) [12/7/2024 2:27:05 AM.893] at CallSite.Target(Closure , CallSite , Object , String , Int32 ) [12/7/2024 2:27:05 AM.893] at RAGENativeUI.N.RequestStreamedTextureDict(String name) [12/7/2024 2:27:05 AM.893] at RAGENativeUI.Elements.Sprite.RequestTextureDictionary(String textureDictionary) [12/7/2024 2:27:05 AM.893] at RAGENativeUI.UIMenu.Draw() [12/7/2024 2:27:05 AM.893] at RAGENativeUI.MenuPool.ProcessMenus() [12/7/2024 2:27:05 AM.893] at ‪‏‪‭‬‮‍‫‫‪‏‫‏‏‎‌‍‬‭‬‬‌‫‭‍‫‮.‌‮‪‍‭‭‬‮‮‌‮‍‍‮‬‫‮‪‪‏‎‮(MenuPool ) [12/7/2024 2:27:05 AM.893] at ‪‏‪‭‬‮‍‫‫‪‏‫‏‏‎‌‍‬‭‬‬‌‫‭‍‫‮.‪‮‏‏‪‪‮‍‎‬‍‍‎‭‮‎‪‫‫‭‭‮‎‮(Object , GraphicsEventArgs ) [12/7/2024 2:27:05 AM.893] at System.EventHandler`1.Invoke(Object sender, TEventArgs e) [12/7/2024 2:27:05 AM.893] at Rage.Game.RaiseFrameRender(GraphicsEventArgs e) [12/7/2024 2:27:05 AM.893] at Rage.RemotePlugin.HandleRenderFiber() [12/7/2024 2:27:05 AM.893] at Rage.GameFiber.Main() [12/7/2024 2:27:05 AM.893] LSPD First Response: ============================== This is a common issue. Replace any version of RNUI with this one: https://github.com/alexguirre/RAGENativeUI/releases/tag/1.9.2 And do not replace it with ones that come with plugins as theyre often including outdated versions.
  19. You did not update RageNativeUI. Thats the main reason for your crash. You also need to update traffic policer with this version: https://github.com/Aschtar/Traffic-Policer/releases/tag/LSPDFR
  20. Callout manager is superseded with callout interface. You can also just use the default LSPDFR callout launcher in the pause menu.
  21. 'Fuck' and 'shit' are not censored by the file guidelines as he claims. I'm just pointing what was censored in the past, that some people still complain about. And that's what I thought you were talking about.
  22. Despite how you feel, sensitive topics such as rape and whatnot are not ok. This is a video game, played by many children despite the rating. LSPDFR is far from realistic. Very odd hill to defend. The fact that we have to step in and remind people that this kind of smut is not ok, well that's kind of concerning to me honestly.
  23. It's always depressing to see how much money the thieves are making, yet the people who actually put effort into making stuff get nothing.
  24. I do not use grammar police so im not sure what the out of service mode is. Maybe if it has an API to see that state I can look into it but its hard to say right now.

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.