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.

LSPDFR 0.4.6 API Update

Featured Replies

  • Management Team

LSPDFR 0.4.6 brings three minor additions to the API:

 

  • IsPlayerInStationMenu - Returns a value indicating whether the player is currently in any station menu such as selecting an agency or vehicle
  • PlayerWentOnDutyFinishedSelection event - Fired when the player has left the police station menu after going on duty
  • PedSwitchedWeaponAnimated event - Fired when the player switches weapon using the new holster/unholster animation in LSPDFR 0.4.6

 

In addition please note that LSPDFR now targets .NET Framework 4.7 and as such you might be required to re-target in order to compile against the new dll. Please find an updated XML documentation attached.

LSPD First Response.XML

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

  • The topic was pinned

Apologies as this wasn't initially documented:

  • PedSwitchedWeaponAnimated event - Fired when the player switches weapon using the new holster/unholster animation in LSPDFR 0.4.6

This might be useful for plugins that wish to use SET_PED_DRAWABLE_VARIATION to change the player model so that their weapon appears as holstered or unholstered.  The event is fired at the precise point in the animation when the switch happens (either from null to a weapon or from a weapon to null).

"You tell me exactly what you want, and I will very carefully explain to you why it cannot be."

  • 4 months later...
  • Author
  • Management Team
16 hours ago, Pierruno said:

Can you create a full guide how to creat a callout on 0.4.7?

 

There are several tutorials by community members, but at the time we do not have an official tutorial.

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

  • The topic was unpinned

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.