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 does Functions.PlayScannerAudio work?

Featured Replies

Hello all, looking for information on how PlayScannerAudio is implemented as I'm trying to implement my own variant of it for a specific callout. Looking for a way to play audio in the game, and I haven't found anything relevant in the official RagePluginHook documentation. I thought about just using a simple winforms SoundPlayer but upon testing it appears to not be allowed to play due to some error with being hooked into a game process (possibly the RAGEngine could be blocking?). So I thought I would ask here if anyone would be able to offer a solution of how they got audio to play? I'm essentially still trying to do the same thing that PlayScannerAudio does for my callout, only without the prefix and suffix noises.

 

If any clarification is needed please do ask, I'm half asleep while writing this post haha.

Everyone wants happiness, no one wants pain. But you can't have a rainbow, without a little rain.

  • Author
On 8/7/2022 at 1:12 PM, LMS said:

We play back audio using DirectSound. You could use the SlimDX wrappers around it, if you like.

Thanks for the tip! Managed to get everything working 🙂

Everyone wants happiness, no one wants pain. But you can't have a rainbow, without a little rain.

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.