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.

How to clear the bouncer in front of Vanilla Unicorn?

Featured Replies

I am making a callout based in front of the nightclub and tried to clear the whole area with in CalloutAccepted (below) but it didn't get rid off the bouncer in front of the nightclub and that causes issues because he will start to shoot at you.. How can I clear him out?

NativeFunctions.Natives.ClearAreaOfPeds(CalloutSpawnpoint, 50f, 0);
  • Author
4 hours ago, Rich said:

First thing that comes to mind is, after running that native, get all peds in the area and delete them (or just delete the one(s) whose model match the bouncer model).

Do you know how to do it? I don't know any function that gets ped in area..

Peds have a GetNearbyPeds method which you could run on the player.  You would try to do this before the player is close enough to see the bouncer.  Alternate solutions might be to remove weapons from the bouncer and/or set its relationship group so that it's not hostile to the player.

Released plugins

Rich's Police EnhancementsScene Manager | Rich Ambiance

Retired?

  • Author
5 minutes ago, Rich said:

Peds have a GetNearbyPeds method which you could run on the player.  You would try to do this before the player is close enough to see the bouncer.  Alternate solutions might be to remove weapons from the bouncer and/or set its relationship group so that it's not hostile to the player.

Thank you, I will try those solutions.. I've tried to set security guard's and private security's group as a companion to the player but it didn't work.. Does the bouncer have different relationship group?

20 minutes ago, Rich said:

Peds have a GetNearbyPeds method which you could run on the player.  You would try to do this before the player is close enough to see the bouncer.  Alternate solutions might be to remove weapons from the bouncer and/or set its relationship group so that it's not hostile to the player.

Thanks, the GetNearbyPeds solution worked!

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.