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.

[HOW TO] Make added police cars work with LSPDFR (traffic stops etc.)

Featured Replies

Hello!

First off: I'm sorry if this "fix" is already known... I searched here and via Google a few times and found no solution for this.

Almost everybody who wanted to play LSPDFR with a added car probably already ran into this issue. You added a cool new police car, wanted to play LSPDFR with it but couldn't, for example, stop traffic.

While replacing a few cars yesterday I had the idea that solved it for me. The vehicle flags in the vehicles.meta are the important part. How to fix it for the car you added? Here you go:

STEP BY STEP INSTRUCTION:

1: First off, copy this line of code. It's the vehicles.meta "<flags>" line of the police cruiser:

<flags>FLAG_HAS_LIVERY FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON</flags>

2: Open the vehicles.meta that includes the code of your added vehicle.

3: Go to the vehicles code and replace the "<flags>" line with the one above.

4: Copy this line of code. It's the vehicles.meta "<vehicleClass>" line of the police cruiser:

<vehicleClass>VC_EMERGENCY</vehicleClass>

5: Go back to the vehicle.meta of your added car and replace the "<vehicleClass>" line with the one above.

6: Start your game and try it! :)

--------------------------------------------------------------------

This is what fixed it for me. I haven't tried much as of now, but I can already confirm that you can stop cars with your added police cars from now on! I don't know about the possibilitys with plugins like VehicleSearch. It depends on how it works. If it checks the VehicleClass (VC_EMERGENCY) or the Flags (FLAG_LAW_ENFORCEMENT) of the specific car, then it should work.

Sadly we still can't spawn it directly in the LSPDFR menu. So you still need a trainer or the RPH console to spawn your car.

Anyway, I hope I could fix this issue for you. But I take now responsibility for possible problems accouring after the changes. It works fine for me, but if you got any problems please just post them here. Maybe I can find some more things or lines to improve compatibility of added cars for LSPDFR.

PS: If you are german speaking, I'd appreciate if you would check out my YouTube channel: https://www.youtube.com/user/GermanCommentGamer

Thanks :)

Similar Content

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.