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.
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

AmbientSpawn.DisableRandomUnits = true/false

Featured Replies

Hey everyone. 

 

So I've been struggling for a good couple of days now to make the game run with AmbientSpawn.DisableRandomUnits = false, however no matter what I do the game just hard crashes without any errors after a couple of minutes. I know the recommended setting if this happens is to set it to "true" so they don't spawn, but that unfortunately also kills a lot of the ambience in the game, leaving you the only officer in town. 

 

After trying all sorts of combinations with MaxCopsInArea and MaxSpawnedCopsInArea I've hit a brick wall. 

 

Mods: 

 

VisualV - Graphic overhaul.

QuantV 3.0 - No change to textures, only weather and time metas (Should not impact the game functionality other than visuals by any means.)

Albo MODDING Pack - With ~40 addon vehicles, 2 replacement weapons.  

Blaine County Traffic Lights - Custom YMAP.

 

This I believe should not have such a big impact on the game that the AmbientSpawn controller causes the game to hard crash, I've seen people with far more mods than I'm running and their AmbientSpawn works just fine. Could it be the AmbientSpawn controller trying to spawn specific vehicles causing this? 

 

What makes AmbientSpawn crash LSPDFR?
What can be done to mitigate it, besides disabling it, and killing the ambience of LSPDFR?
Could it be specific vehicles that cause the AmbientSpawn controller to hard crash? (All vehicles are fine when spawned individually.)

 

I really hope someone can shed some light on this situation, and as well maybe some input from the developers of LSPDFR - Imo ambientspawn is such an important part of LSPDFR, and it's quite game-breaking when it's the reason for hard crashing. 

 

Thanks for your time. 

NB! Do NOT DM me directly asking for help, doing so will result in ignore. - If you need help, use the forums, just like anybody else 😉

 

ka0s_dev: Jack of all trades - master of none | https://ka0s.xyz | Development and Customization.

  • Author

Consider this resolved, found that 8 car models consistently caused this. After I removed those from ambient spawn it works fine, no issues with other agencies, so either the XML somehow is broken for that specific agency or it just doesn't like those 8 vehicles specifically. 

NB! Do NOT DM me directly asking for help, doing so will result in ignore. - If you need help, use the forums, just like anybody else 😉

 

ka0s_dev: Jack of all trades - master of none | https://ka0s.xyz | Development and Customization.

This is a support topic.
Only reply here to offer help or assistance to ka0sdev. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

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.