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.

LMS

Management Team
  • Joined

Everything posted by LMS

  1. This is part of the managed holster of LSPDFR for pistols. Unfortunately the holstered pistol is the same category as the vest, so it conflicts. I guess all I could do is add an API function that disables the holster management for a specific cop.
  2. It does, but it has to find a valid spawn point there.
  3. Depends on what parts of the game world have been loaded in advance, but usually 300+ will result in a lot less units.
  4. Under "Main", add "MinimumBackupDistance" and assign a value (in metres) that backup should respect. Note that very high values may lead to no backup spawning at all.
  5. One idea: In the knife callout, in the if statement you listed, you don't add the ped to the pursuit instance. Hence backup will not work for that pursuit (though I think it is intended). However, since that instance never gets a suspect assigned I could imagine it being in a kinda "zombie" status where it is waiting to start for the first time and hence bugging new pursuits. Try only creating a pursuit instance if you are actually using it and report back please.
  6. IsKeyDown basically reports the status since the last check, i.e. when the key is being held down and you call this function in a loop, it will only enter the conditional branch once (the first time). IsKeyDownRightNow however, reports the actual key state, that is whether the key is being held down right now.
  7. Normally the AI disabled flag is per pursuit instance, so it shouldn't carry over. I'll see if I can take a look this weekend though.
  8. Try increasing the PluginTimeoutThreshold in RPH (e.g. to 20000).
  9. When nopping/hooking the anti debug checks, at least unmanaged debugging works fine for me. Managed only works through WinDbg for me though, VS fails to get notified. Not sure, but maybe they mess with the remote debugging thread or something.
  10. A game fiber is required to yield every now and then to hand back control, so this is probably the issue here. Try using a normal .NET thread instead of a GameFiber for the update check.
  11. You could also use a static random instance with a semi-random seed (system tick count for example). This way calling the function again in short period of time will get you different results because you don't initialize a new instance every call.
  12. I'm thinking of maybe having an .ini option for the minimum distance, how would that sound? The main reason we went for much closer backup was because units were often useless during pursuits when spawned too far away.
  13. That path is read from the .pdb file and is actually a path on my computer. This is because the released version was compiled on my end and when resolving the stack trace, the information from my computer is used. The actual crash is in OnBeforeCalloutDisplayed in your code however as you can see in the first line. The lines below just show the call order to get to that line of code.
  14. Could you post more details on the crash? I'm not really sure what LSPDFR would do to make it actually crash.
  15. Could you elaborate a little on "create scenarios"? Do you mean, like using the cops for pursuits? Since LSPDFR continuously scans for cop peds, I'd assume an option like explicitly "removing" your cop from LSPDFR is what you're after?
  16. I think I know what's going wrong, will let you know.
  17. Yes it will. The idea is to only break a lot of stuff once.
  18. For a small set, a comparison as shown by Darkmyre and alexguirre is more than sufficient. If you have a very large data set (and also to reply to @Darkmyre's question whether it is efficient), a proper algorithm should be used. Just think of it as a maths problem: Let M be an euclidean space where you have a set S of points in M and a point p ∈ M. You want to find the closest point in S to p. Right now, using the naive approach, you have a runtime of O(dN) (d = dimensionality of M, N = cardinality of S) for getting the closest point. To achieve better performance, there are many different ways, such as using a kd tree (O(log N) or a voronoi diagram (best would be to use 2d then and ignore z axis to reduce space requirements or check at last) etc. You could even use Locality Sensitive Hashing if you want to (overkill for 3d most likely though).
  19. Interesting, do you have snow tracks showing up in multiplayer? Also @ZZ13 suggested to toggle the snow to false and true once in-game (console ToggleSnow false/true), that allowed him to get the tracks working. Could you please try that?
  20. Do you make sure to return execution via GameFiber.Yield or GameFiber.Sleep? Because all native invocations have to be synced with the game's scripting engine, there is no real multithreading and threads must return control each tick.
  21. Thanks! Snowball fight callout anyone? :P
    • 48,471 downloads
    • Version 1.1.0
    This modification brings the snow from GTA: Online to single player! Enjoy all of its glory with the latest additions & fixes by Rockstar to make a snowy Christmas happen in Los Santos! It also includes the ability to pick up snowballs from the ground, because why not? Installation There are two downloads provided, both installing exactly the same mod version. SnowMod.rar just contains the plugin dll file. Put it into game folder\plugins as usual. SnowMod_inst.rar contains an installer that will install the dll file for you automatically (note that the installer shows ad during the installation). Usage Snow Mod requires RAGE Plugin Hook 0.29 or later to run and is loaded as a plugin using the console (or automatically at startup if you have configured RPH that way). The snow effect is enabled automatically when loaded. To disable the snow effect in-game, use the console command ToggleSnow. If there is no snow on the ground, but only a snowy weather effect, please disable Frame Scaling under Advanced Graphics options (see https://www.reddit.com/r/GrandTheftAutoV_PC/comments/3y1xjf/psa_if_you_cannot_see_the_snow_on_the_ground/ for more information). Snowy Christmas guys!

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.