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.

Please exclude mission characters from pursuit involvement

Featured Replies

Whenever I'm in a police car and I spawn a driver by using my Havoc! mod the driver "forgets" his job in order to participate in a pursuit if it's nearby.
I flag the driver as mission character (by calling the IsRequiredForMission() method in the .net ScriptHook) but that's useless as long as this flag isn't queried in the LCPDFR code.
Also setting BlockPermanentEvents to true doesn't help.

This section is for support with the actual website, not the mod.

 

MODERATOR NOTICE
Moved to LCPDFR Suggestions

Sticks and stones may break bones, but 5.56 fragments on impact.

  • Management Team

Moved to Development.

 

You can use our API to do just that. Make sure your class inherits from GameScript, then you can do something like this:

            if (Functions.IsKeyDown(Keys.B))
            {
                LPed ped = new LPed(LPlayer.LocalPlayer.Ped.Position, "M_Y_COP");
                if (ped.Exists())
                {
                    // This will block all other scripts from accessing this officer
                    Functions.SetPedIsOwnedByScript(ped, this, true);
                    ped.AttachBlip();
                }
            }

Also, explicitly stating the ped is not a cop might help when spawning:

LPed ped = new LPed(LPlayer.LocalPlayer.Ped.Position, "M_Y_COP", LPed.EPedGroup.MissionPed);

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

  • Author

This would make my mod dependent on yours. So all users who want to use my mod must also install LCPDFR.
I guess I will use a static non-cop model instead.

Edited by Cyron43

  • Management Team

This would make my mod dependent on yours. So all users who want to use my mod must also install LCPDFR.

I guess I will use a static non-cop model instead.

That's not so bad, almost everyone has LCPDFR installed, we are one of the biggest mods for GTA IV.

Plus you could use our API to do stuff which is currently not possible without the AdvancedHook.

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...

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.