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.

Accepting a Callout via a Plugin

Featured Replies

Is there a way for a plugin to accept a callout from within a plugin? I figured a possible way would be sending a keypress. In that case, what is the proper way to use AutoIT with a plugin DLL? (I tried but was unable to get the assemblies to load).

Collin Biedenkapp

Unit S17 | Professional Programmer | VocalDispatch Developer

Only LSPDFR can accept callouts, it goes without saying that any callout created using the API gets registered and then loaded by LSPDFR. If you don't have LSPDFR for example, you wont have any working API plugins.

A third party plugin or another API plugin does not have to ability to accept callouts from API plugins. The only way you could do it is to try and send a keypress event but there is no guarantees that will work. In fact I'd be fairly certain it wouldn't work at all.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Functions.StartCallout() may help.

AutoIt can be used too but I don't suggest you do this in this way. Why would you want to force the user to accept a random callout?

Edited by Albo1125

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

17 minutes ago, Albo1125 said:

Functions.StartCallout() may help.

AutoIt can be used too but I don't suggest you do this in this way. Why would you want to force the user to accept a random callout?

Oh wow that's a thing? Man I'm soooo out of the loop.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

  • Author

It wasn't for a random callout - it was so I could allow the user to verbally accept callouts with this: 

 

Collin Biedenkapp

Unit S17 | Professional Programmer | VocalDispatch Developer

15 hours ago, Albo1125 said:

Functions.StartCallout() may help.

AutoIt can be used too but I don't suggest you do this in this way. Why would you want to force the user to accept a random callout?

 

14 hours ago, LukeD said:

Oh wow that's a thing? Man I'm soooo out of the loop.

That let's you trigger a callout without needing to spam X, lol. Very useful when testing. :whistling:

You still have to accept it, though. 

Stealth22
LSPDFR Tester | Plugin Developer
My Plugins: Code 3 Callouts | Traffic Control | Keep Calm | ALPR+

Please do not PM me for any kind of technical support.
I unfortunately do not have enough free time to answer every PM that I get. For issues with my plugins, please post in the comments section of the file, or it's forum thread. You'll get a much quicker response from me there than if you send me a PM; I do my best to respond to every question in the comments sections. For API/programming questions, please post them in the API Development forum, so all developers can benefit from the answer as well. Thanks!

20 hours ago, turbofandude said:

It wasn't for a random callout - it was so I could allow the user to verbally accept callouts with this: 

 

I saw, great idea :smile:

My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

  • 5 weeks later...

How would I find the names of event triggers in mods such as Traffic Policer, Police Toolbox, Arrest Manager, etc in order to add them to mods such as VocalDispatch or The Menu??? I've been farting around with xml for about a week and understand the basics but I don't know how/where to find the triggers.

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.