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.

Peds ignore LSPD when their Persona is set

Featured Replies

Hoping Sam or LMS looks at this...

It doesn't matter if I set a Ped as an off duty cop, or as a wanted suspect. If I create a new Entities.Persona object (after getting a random name and date of birth) and set it against a Ped with LSPD_First_Response.Mod.API.Functions.SetPersonaForPed(), that particular Ped does not respond at all to anything.

If I hold E in-game, every other Ped around will stop and face me. But this particular Ped will not, and I can't get their ID at all.

Any ideas?

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

  • Author

I don't know if this is feasible for you guys, but there might be a workaround for this...

Would it be possible for you guys to add the ability to add "notes" that would show up when you ran a Ped through the police computer?

Rather than trying to set a Ped's persona, could we define custom text that would show up when you ran their name through the computer? So instead of setting a Persona with IsCop set to true (and possibly causing conflicts elsewhere), could we set the Ped's "notes" to be, "Subject is an off duty police officer"? It would open up other possibilities too. Like, you could have a Ped show in the computer as, "Subject has a mental illness", or "Subject has a history of violence against police; use caution".

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

  • Management Team

I sometimes get the issue you described as well, so it seems to be a bug. I will have a look later.

About the notes: Sure, I can add that.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author

I sometimes get the issue you described as well, so it seems to be a bug. I will have a look later.

About the notes: Sure, I can add that.

Thanks for the quick response.

I've worked around it for now, by doing without that feature as best I can. I remembered asking a Ped for her ID once, and she was a Federal Agent. The ped was spawned by my callout, but her persona was random, I didn't set that. Not a big deal, I'm sure there's lots more important things for you to work on for now.

The notes will be a nice addition, so thanks for that. :smile:

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

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.