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.

Using Albo1125's APIs

Featured Replies

  • Popular Post

Hey all,

As you may have noticed, my latest plugins come with an 'API Reference- Developers Only' folder. This means you can change the behaviour of my plugins depending on your wishes! For example, you could use Traffic Policer's API to set a vehicle as uninsured, Arrest Manager's API to request a tow truck for a vehicle and the upcoming British Policing Script's API to set vehicle/person flags in the PNC computer. Lots more fun functions are available for you to discover!

A quick guide on how to do this properly and safely can be downloaded here. Enjoy!

Using Albo1125's APIs.pdf

Changelog:

Spoiler
  • Rewritten the guide to indicate it can be used for all my APIs.
  • Added various new methods to the Traffic Policer API regarding its new Breathalyzer.
  • Added lots of new methods to the Traffic Policer API, mainly to let other developers utilise the new Breathalyzer:
    • SetPedAlcoholLevel, GetRandomOverTheLimitAlcoholLevel, GetRandomUnderTheLimitAlcoholLevel, DoesPedHaveDrugsInSystem, IsPedOverTheAlcoholLimit.
    • British Policing Script Indepth API. British Policing Script has an extremely detailed API to allow other plugin authors complete flexibility.

    • Ability to set a ped's British persona with get/set properties and functions.
    • Ability to set a vehicle's Vehicle Records with get/set properties and functions.
    • Full access to the British Persona & Vehicle Records classes.
    • Ability to create a new court case with a determined outcome.
    • Various other powerful features.

 

Edited by Albo1125

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • 3 weeks later...
  • Author

Arrest Manager's latest update features an API too. It can be accessed using the same concepts as outlined in the Traffic Policer API guide. Enjoy!

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

On 3/11/2016 at 6:12 AM, Albo1125 said:

Arrest Manager's latest update features an API too. It can be accessed using the same concepts as outlined in the Traffic Policer API guide. Enjoy!

The new arrest manager API is great. I'm working on an update to Custom Backup which will integrate with Arrest Manager. Can't wait to get it released! Thanks for the good work Albo. 

[REL] Coastal Callouts: An action-packed mod with new vehicles, maps, capabilities, and callouts in and around the waters of Los Santos

[REL] Police Tape: Make your scenes more realistic while stopping peds and traffic

[REL] Better EMS: Realistic and dynamic EMS response

Join the Parks Benefactor Program to support my work and get early beta access!

  • Author

Traffic Policer API Changelog:

  • Marked all methods with specific TP enums as obsolete - will be removed in the next patch.
  • Replaced those overloads with overloads that take more generic types (e.g. bool) to improve code stability.
  • Added a new method: MakePedImmuneToAmbientEvents().

The guide has also been updated to make stuff clearer and create a more efficient wrapper class for the new methods.

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • 5 weeks later...
  • Author

Traffic Policer API Changelog is updated:

  • Cleaned up the API - a documentation XML file for Visual Studio IntelliSense is now included. Please update your reference to the assembly in the designated folder.
  • Added a new API method: SetAutomaticInsuranceChecksEnabled(bool enabled).

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • 1 month later...
  • Author

Added lots of new methods to the Traffic Policer API, mainly to let other developers utilise the new Breathalyzer:

  • SetPedAlcoholLevel, GetRandomOverTheLimitAlcoholLevel, GetRandomUnderTheLimitAlcoholLevel, DoesPedHaveDrugsInSystem, IsPedOverTheAlcoholLimit.

I also updated the PDF file to reflect this can be used for all my APIs.

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • Author

-Changelog:

Full British Policing Script API added:

Indepth API. British Policing Script has an extremely detailed API to allow other plugin authors complete flexibility.

  • Ability to set a ped's British persona with get/set properties and functions.
  • Ability to set a vehicle's Vehicle Records with get/set properties and functions.
  • Full access to the British Persona & Vehicle Records classes.
  • Ability to create a new court case with a determined outcome.
  • Various other powerful features.

 

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • 1 year later...

Hi Albo,

 

I'm developing a new callout and would like to integrate it with the court system on LSPDFR+.

From the wrapper example, I saw that there's a need for me to register my callout to be able to use LSPDFR+ functions in my callout.

 

May I get the registration code? Thanks.

 

BR.

8 hours ago, BejoIjo said:

Hi Albo,

 

I'm developing a new callout and would like to integrate it with the court system on LSPDFR+.

From the wrapper example, I saw that there's a need for me to register my callout to be able to use LSPDFR+ functions in my callout.

 

May I get the registration code? Thanks.

 

BR.

Call CreateNewCourtCase.

 

Thank you

34 minutes ago, epicmrjuan said:

Call CreateNewCourtCase.

 

Thanks for the tips.. I tried that and it works without any verification..

 

I was confused because in the wrapper class, there are 2 methods called AddCountToStatistic & GenerateSecurityGuid which require verification code...

Edited by BejoIjo

2 hours ago, BejoIjo said:

Thanks for the tips.. I tried that and it works without any verification..

 

I was confused because in the wrapper class, there are 2 methods called AddCountToStatistic & GenerateSecurityGuid which require verification code...

In the documents above?

 

Thank you

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.