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.

Known issues

Featured Replies

Known issues so far:

  • Missing function to retrieve persona
  • IsPedArrested doesn't return true for player arrested peds

Will we also be able to get access to the LSPD_First_Response.PoliceComputer - mainly to determine if it is in fact open?  computer.isShowing is mainly what I'd be after so we can also determine if we need to ignore input from our mods?  I'll stop begging for API features now.... :|

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

Will we also be able to get access to the LSPD_First_Response.PoliceComputer - mainly to determine if it is in fact open?  computer.isShowing is mainly what I'd be after so we can also determine if we need to ignore input from our mods?  I'll stop begging for API features now.... :|

I second that motion. (Pretty please?)

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!

At least with my mod this below worked for me to detect if the computer was open...

I'm currently having issues with my PC so I can not double check atm, but if I remember correctly, it works.

PoliceComputer policeComputer = new PoliceComputer();
if (Game.IsKeyDown(Keys.T) && !policeComputer.IsShowing)

 

I don't see that property in the Object Browser, but when I tried that, I get this:

'IsShowing' is ambiguous because multiple kinds of members with this name exist in class 'LSPD_First_Response.PoliceComputer'.

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!

Any word on PoliceComputer.IsShowing?

It doesn't appear in the object browser, and Visual Studio tells me that its ambiguous, as in the error in my last post.

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!

Any word on PoliceComputer.IsShowing?

It doesn't appear in the object browser, and Visual Studio tells me that its ambiguous, as in the error in my last post.

It doesn't say it's ambiguous for me. Which version of VS are you using? I'm using VS 2015 Community.

VS 2013 Community...but I am programming in VB.NET. That could be it, haha. I may have to go back and convert ALL my code to C#...which I don't want to do. :sad:

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!

VS 2013 Community...but I am programming in VB.NET. That could be it, haha. I may have to go back and convert ALL my code to C#...which I don't want to do. :sad:

It's either that or have the team change it. VB.NET isn't case-sensitive which is why it's saying it's ambiguous for you. I don't think there's any other workarounds, unfortunately.

It's either that or have the team change it. VB.NET isn't case-sensitive which is why it's saying it's ambiguous for you. I don't think there's any other workarounds, unfortunately.

Yup, you're right. I did some digging, and that is exactly it. Sigh. :sad:

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.