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.

Callout within a Certain Distance?

Featured Replies

How do I make it so someone must be within a certain spawnpoint or a certain distance from a point or spawnpoint or wherever the callout spawns or else it will just cancel itself?

I have 

ShowCalloutAreaBlipBeforeAccepting(new Vector3(-1758.445f, 125.273f, 64.774f), 30f);
            AddMinimumDistanceCheck(100f, new Vector3(-1758.445f, 125.273f, 64.774f));

but it doesn't seem to work as I can be anywhere on the map and it'll still be called and can be accepted.

My callout is basically in the school, which is where the coords are, and I just want to make sure you have to be within like a towns/districs distance or else it dispatch won't call you for it or it'll disregard itself.

if (Game.LocalPlayer.Character.DistanceTo(vector3)>minimumDistance) { return false; }

Semi-pseudocode as I'm not on my dev pc atm for proper syntax etc, but hopefully it should make enough sense.

My YouTube Channel: Darkmyre Gaming (Australian LSPDFR patrols, plugins in development, and other games)

My Discord Server | AusGamer Network

 

Please do not PM me for technical support or bug reports, use the appropriate forum or plugin's comments instead.

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.