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.

Ransom Ambience 1.6.7

(17 reviews)

18 Screenshots

Ransom Ambience by MarcelWRLD
Version: 1.6.7

 

Ransom Ambience is a LSPDFR plugin that implements location-based ambient events to increase realism

during your patrols across Los Santos and Blaine County.

 

Features

  • Variety: Ransom Ambience offers you plenty of events of which some even have different scenarios! This way you won't get bored and you don't have to play the same stuff over and over again. The plugin is also under active development which means that new events are added every update to keep you busy during your patrols across the whole map!
     
  • Lightweight: Ransom Ambience isn't heavily scripted which gives you the full range of opportunities on how you want to deal with an event.
    You want to arrest the ped? Go on. You want let the ped go? Go on. You want to ignore the crimes they are commiting? Sure, go on. No annoying scripting that forces you to do something or react in some kind of way. It's just you and your own judgement!
     
  • Location System: Ransom Ambience is dependent on the zone/neighborhood that you are currently in. Some events have a higher chance of occuring in certain areas while others have a lower chance of occuring or don't occur at all. Want action? Try patrolling in high-crime neighborhoods but pay close attention to your surroundings. Want to relax? Just patrol in a different area of the map, sit back and enjoy your chill patrol with only small crimes happening.
     
  • Customizable: Don't like the probabilities of crimes in certain areas? Want to increase or decrease action in certain areas? Well, no problem! Ransom Ambience allows you to fully customize the chances of crimes occuring. Read the README of the 'RansomAmbience' folder for a (almost) step-by-step tutorial on how to adjust your game experience.
     
  • Pursuit System: Ransom Ambience of course offers you plenty of situations where you are able to participate in a pursuit. However, can you still remember how I was talking about your freedom of dealing with events? Exactly: You are not forced to participate in a pursuit, instead you will be asked if you want to initiate a pursuit. If not, simply ignore the prompt and continue your patrol! 

 

Requirements

 

As already mentioned the ambient events are location-based meaning certain events have a higher chance of

occuring at certain places while others have a lower chance.

 

In order for events to spawn you have to make yourself available for calls which you can do using two ways:

1. If you use "GrammarPolice" you have to change your status to "Available" (e.g. going 10-8/Code 4).

2. You can open your LSPDFR interaction menu (default: M), go to "Police Radio" and switch "Available for calls" to "Yes".

If you want events to happen regardless whether you are available for calls or not, head to the plugins config menu (default: F6) and tick "Always allow events". 🙂

 

These are not callouts but events that may happen around you at random.

Spoiler

Pedestrian Events

  • Ambush
  • Brandishing weapon
  • Burglary
  • Carjacking
  • Fight
  • Indecent exposure
  • Injured person
  • Public disturbance

 

Traffic Events

  • Animal accident
  • Broken equipment
  • Car on fire
  • DUI
  • Drive-by shooting
  • MVA
  • Pursuit
  • Reckless driver
  • Street race
  • Use of phone

 

Traffic Stop Events

Guidelines for Traffic Stop Events

  • Collision
  • Carjacking
  • Disturbance

 

Upcoming

  • "Friendly" events (stay tuned...)
  • ...contact me if you have ideas 🙂


Reports and Feedback
Discord: marcelwrld
If you experience bugs or crashes please contact me here or through discord so I can fix them for you.

Showcase by @OfficerBenzo

 

Credits

  • LSPDFR Team: Creating this mod
  • RAGE Plugin Hook Team: Providing GTA5 API
  • Bejoljo: Creating StopThePed
  • Ragemp Wiki: Providing zone names

 

 

Don't hesitate to reach out to me if you need help or if you have questions.

Thank you for reading and have fun!

 

 

This mod is fully compatible with Immersive Ambient Events!

 



DO NOT republish or reupload this file to other websites. This plugin is only available on LCPDFR.com. If you stumble upon a reupload please let me know!

Edited by MarcelWRLD
new screenshots

What's New in Version 1.6.7

Released

Changelog V1.6.7

This version fixes several bugs. 🙂

After a long time I finally found time to fix some issues with RA. You can read the reason for this long period of no updates here.

 

New

  • StopThePed: Ransom Ambience is no longer dependent on StopThePed, which means that you can play without having STP installed!
    (However you are required to use the vanilla LSPDFR ped stop menu to interact with ped events when playing without STP.)

 

Bug Fixes

  • Fight: Fixed an error being thrown at the end of the event.
  • Ped Choosing: Fixed peds (e.g. cops) being chosen for events, which of course should NOT happen.
    If you were previously using the "Ignore Addon..." settings within RA you no longer need to use those. The plugin should handle everything automatically now.

 

Updated files
How to update

  • Updated RansomAmbience.dll
  • Added/Updated RansomAmbience.pdb
  • Updated RansomAmbience.ini

 

Have fun! If you encounter any issues please report them to me.

Changelog V1.6.6 (Previous)

Spoiler

This version fixes several bugs, changes and adds some small details. 😄

 

New

  • Pursuit System: You can disable the automatic spawning of a helicopter now (this should fix an issue with the 'Heli Assistance' plugin).
    Check 'DisableAutoHeliSupport' in the .ini or look it up in the config menu!
  • Event Menu: Added a 'Random' option to the force event button which selects a random event (self-explanatory lol).

 

Bug Fixes

  • Animal Accident: Fixed the event being canceled almost immediately.
  • Injured Person: Injuries should be more visible now.
  • Drive-By Shooting: Fixed possible issues with the event.
  • Broken Equipment, DUI, Reckless Driver, Use Of Phone: Fixed an issue where the plugin would run into an error.
  • Traffic Stop Collision: Reduced the amount of which the driver would miss your vehicle (it's still not perfect though; the missing is not really intended).
  • Traffic Stop Disturbance: Fixed an issue with animations.
  • Pursuit System: Fixed a display issue of the controller button in the notification.
  • Menu System: "Kind of" fixed the key modifier issue. If you press the normal key and then the modifier it should work without spamming.
  • Check for update: It should no longer lag your game for a split second when pressing the button.

 

Thank you for reading! ❤️

 


Short Description

Ransom Ambience is a LSPDFR plugin that implements location-based ambient events.

User Feedback

Recommended Comments

YGF

Members

Hello, I'm not sure if this plugin caused the crash. It used to be very stable

RagePluginHook.log

Carsen21

Members

great plugin,but i think it conflicted with "Force A Callout" plugin that caused LSPDFR crash

MarcelWRLD

Members Author

6 hours ago, YGF said:

Hello, I'm not sure if this plugin caused the crash. It used to be very stable

RagePluginHook.log 395.12 kB · 1 download

Yes it looks like it caused the crash, thank you for your report. I will fix it asap!

3 hours ago, Carsen21 said:

great plugin,but i think it conflicted with "Force A Callout" plugin that caused LSPDFR crash

Can you explain further?

7 hours ago, nbnikola said:

I was thinking of random street race and cars are different on every part of the map for example in vinewood hills you would see super cars and near grove street and those areas you will see more muslce cars and older japanese cars and number of racers can be random

Street race is already planned 👍🏼

Carsen21

Members

48 minutes ago, MarcelWRLD said:

Can you explain further?

whenever i press "available for call" key in game for "Force A Callout" plugins along with your plugin, LSPDFR crashes

MarcelWRLD

Members Author

Just now, Carsen21 said:

whenever i press "available for call" key in game for "Force A Callout" plugins along with your plugin, LSPDFR crashes

Can you send me your 'RagePluginHook.log' file right after your games crashes? It's in your GTA 5 main directory

Gelse16

Members

highly appreciated!!! keep up the awesome work! 👍

Failurez

Members

maybe add a scenario where a gunman appears and attacks you?

MarcelWRLD

Members Author

6 minutes ago, Failurez said:

maybe add a scenario where a gunman appears and attacks you?

Will look into that. Thanks!

Carsen21

Members

5 hours ago, MarcelWRLD said:

Can you send me your 'RagePluginHook.log' file right after your games crashes? It's in your GTA 5 main directory

here you go..

RagePluginHook.log

MarcelWRLD

Members Author

3 minutes ago, Carsen21 said:

I know what is causing this error:
 

[8/7/2023 11:35:38 PM.500] LSPD First Response: Error while initializing plugin: RansomAmbience.RansomAmbience: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))   at RansomAmbience.Logic.EventLogic.LoadEventZonesAndWeights()
[8/7/2023 11:35:38 PM.500] at RansomAmbience.RansomAmbience.Initialize()
[8/7/2023 11:35:38 PM.500] at kXHTsZswkDbxgjHcyKjpGZegytVe.YgViQYeYnfruyQohFAjsiMEMFCOd() in D:\GTA V\LSPD First Response\LSPD First Response\Mod\Callouts\CalloutManager.cs:line 781
[8/7/2023 11:35:38 PM.501] LSPD First Response: Error while creating plugin: RansomAmbience.RansomAmbience: System.NullReferenceException: Object reference not set to an instance of an object.


When you download the plugin there is a "Newtonsoft.Json.dll" file in the downloaded .zip. You must copy this file to your GTA 5 main directory or the plugin won't work.

Cyanotic

Members

Had an uh oh with Broken Equipment just now apparently. 


 

Spoiler

[8/7/2023 3:41:03 PM.374] LSPD First Response: [RansomAmbience] Detected zone 'SANDY' (-1698071999)
[8/7/2023 3:41:03 PM.374] LSPD First Response: [RansomAmbience] Starting event 'BrokenEquipment'
[8/7/2023 3:41:03 PM.374] LSPD First Response: [RansomAmbience] New interval has been set to: 222150ms.
[8/7/2023 3:41:03 PM.401] LSPD First Response: [RansomAmbience] Event was 'broken lights' but it's currently day time: Falling back to broken tire.
[8/7/2023 3:41:03 PM.403] LSPD First Response: System.InvalidOperationException: The specified wheelIndex is invalid.
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.GetAddressOfWheel(Void* vehicleAddress, Int32 wheelIndex)
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.GetWheel()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.IsValid()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.BurstTire()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.AmbientEvents.Traffic.BrokenEquipment.Init()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.RansomAmbience.<>c.<StartThread1>b__21_0()
[8/7/2023 3:41:03 PM.403] LSPD First Response:    at Rage.VehicleWheel.GetAddressOfWheel(Void* vehicleAddress, Int32 wheelIndex)
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.GetWheel()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.IsValid()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.BurstTire()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.AmbientEvents.Traffic.BrokenEquipment.Init()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.RansomAmbience.<>c.<StartThread1>b__21_0()
[8/7/2023 3:41:03 PM.408] LSPD First Response: 
[8/7/2023 3:41:03 PM.408] LSPD First Response: ==============================
[8/7/2023 3:41:03 PM.408] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Origin: Game fiber "RansomAmbience.EventThread1".
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Exception type: System.InvalidOperationException
[8/7/2023 3:41:03 PM.408] LSPD First Response: Exception message: The specified wheelIndex is invalid.
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Inner exceptions:
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Stack trace:
[8/7/2023 3:41:03 PM.408] LSPD First Response: at RansomAmbience.RansomAmbience.<>c.<StartThread1>b__21_0()
[8/7/2023 3:41:03 PM.408] at Rage.GameFiber.Main()
[8/7/2023 3:41:03 PM.408] LSPD First Response: ==============================
[8/7/2023 3:41:03 PM.408] LSPD First Response: 
[8/7/2023 3:41:03 PM.410] LSPD First Response: [FATAL] Forced termination
[8/7/2023 3:41:03 PM.411] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[8/7/2023 3:41:05 PM.992] LSPD First Response: [INFO] LSPDFR has shut down

 

MarcelWRLD

Members Author

(edited)

4 minutes ago, Cyanotic said:

Had an uh oh with Broken Equipment just now apparently. 


 

  Reveal hidden contents

[8/7/2023 3:41:03 PM.374] LSPD First Response: [RansomAmbience] Detected zone 'SANDY' (-1698071999)
[8/7/2023 3:41:03 PM.374] LSPD First Response: [RansomAmbience] Starting event 'BrokenEquipment'
[8/7/2023 3:41:03 PM.374] LSPD First Response: [RansomAmbience] New interval has been set to: 222150ms.
[8/7/2023 3:41:03 PM.401] LSPD First Response: [RansomAmbience] Event was 'broken lights' but it's currently day time: Falling back to broken tire.
[8/7/2023 3:41:03 PM.403] LSPD First Response: System.InvalidOperationException: The specified wheelIndex is invalid.
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.GetAddressOfWheel(Void* vehicleAddress, Int32 wheelIndex)
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.GetWheel()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.IsValid()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.BurstTire()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.AmbientEvents.Traffic.BrokenEquipment.Init()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.RansomAmbience.<>c.<StartThread1>b__21_0()
[8/7/2023 3:41:03 PM.403] LSPD First Response:    at Rage.VehicleWheel.GetAddressOfWheel(Void* vehicleAddress, Int32 wheelIndex)
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.GetWheel()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.IsValid()
[8/7/2023 3:41:03 PM.403] at Rage.VehicleWheel.BurstTire()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.AmbientEvents.Traffic.BrokenEquipment.Init()
[8/7/2023 3:41:03 PM.403] at RansomAmbience.RansomAmbience.<>c.<StartThread1>b__21_0()
[8/7/2023 3:41:03 PM.408] LSPD First Response: 
[8/7/2023 3:41:03 PM.408] LSPD First Response: ==============================
[8/7/2023 3:41:03 PM.408] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Origin: Game fiber "RansomAmbience.EventThread1".
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Exception type: System.InvalidOperationException
[8/7/2023 3:41:03 PM.408] LSPD First Response: Exception message: The specified wheelIndex is invalid.
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Inner exceptions:
[8/7/2023 3:41:03 PM.408] LSPD First Response: ------------------------------
[8/7/2023 3:41:03 PM.408] LSPD First Response: Stack trace:
[8/7/2023 3:41:03 PM.408] LSPD First Response: at RansomAmbience.RansomAmbience.<>c.<StartThread1>b__21_0()
[8/7/2023 3:41:03 PM.408] at Rage.GameFiber.Main()
[8/7/2023 3:41:03 PM.408] LSPD First Response: ==============================
[8/7/2023 3:41:03 PM.408] LSPD First Response: 
[8/7/2023 3:41:03 PM.410] LSPD First Response: [FATAL] Forced termination
[8/7/2023 3:41:03 PM.411] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[8/7/2023 3:41:05 PM.992] LSPD First Response: [INFO] LSPDFR has shut down

 

I know, I already fixed it in my build. I will be releasing the fix in 1-2hours when I'm back home so come back later for the update. Thank you for reporting though 🙂

Edited by MarcelWRLD

OfficerAlexis

Members

When i am responding to the call for rescue the pet,i cant do anything to rescue it,its a bug or this is the call? 

MarcelWRLD

Members Author

(edited)

7 minutes ago, OfficerAlexis said:

When i am responding to the call for rescue the pet,i cant do anything to rescue it,its a bug or this is the call? 

You mean where the ped/driver has fallen unconscious? You can search them and call FD/EMS through StopThePed. The event is a bit boring I know, I might ditch it to be honest (not completely but I will probably remove it from the default events)

Edited by MarcelWRLD

OfficerAlexis

Members

3 minutes ago, MarcelWRLD said:

You mean where the ped/driver has fallen unconscious? You can search it and call FD/EMS through StopThePed. The event is a bit boring I know, I might ditch it to be honest.

Sorry its another mod,i thought it was yours, i am sorry,dont remove anything,we want more things! 😄 

MarcelWRLD

Members Author

Just now, OfficerAlexis said:

Sorry its another mod,i thought it was yours, i am sorry,dont remove anything,we want more things! 😄 

Ohh alright haha. Yea I won't be removing it completely, don't worry. And new things will be coming soon!

OfficerAlexis

Members

5 minutes ago, MarcelWRLD said:

Ohh alright haha. Yea I won't be removing it completely, don't worry. And new things will be coming soon!

i am looking forward! thanks for this mod! i hope you will create more things,never stop it, we need you!

21Sumter

Members

hmm, I'm not sure how correct it will be in implementation, but there is a small idea in my head, I think that with traffic in GTA 5 it will be quite problematic in implementation, but maybe this will push you to another idea. In general - The car / truck flies along the highway without brakes (broken cruise control, it can’t slow down) what scenario this should have, I don’t know either, but there are 2 possible outcomes, slow it down with your car (try), or make a pit maneuver and embed it into any indestructible object

MarcelWRLD

Members Author

4 minutes ago, 21Sumter said:

hmm, I'm not sure how correct it will be in implementation, but there is a small idea in my head, I think that with traffic in GTA 5 it will be quite problematic in implementation, but maybe this will push you to another idea. In general - The car / truck flies along the highway without brakes (broken cruise control, it can’t slow down) what scenario this should have, I don’t know either, but there are 2 possible outcomes, slow it down with your car (try), or make a pit maneuver and embed it into any indestructible object

Yea I get what you mean. Though how would the player know what to do? Like how would it know that the driver is actually unable to brake and is not some normal driver who is speeding?

1XRAY80

Members

first day using it. i also have super events installed. no conflicts or crashes yet!! both run seamlessly 

 

TheBeaner

Members

possibly add a wrong way driver dui to the pack, btw does this pack also work out in the county?

DiabloRambo

Members

On 8/7/2023 at 12:20 AM, MarcelWRLD said:

Oh alright, well I will look further into AmbientAICallouts. Thanks!

Ambient AI callouts was more of an immersion plugin then actual callouts, it was meant to make you feel like you arent the only cop in the city, you can see the ambient spawns just patrolling like you, and a scripted audio file will play requesting a response and the Ai units will respond to it, you don't need to respond if you dont want to. So you can see your fellow AI at an opposite traffic light go code 3 on a call.

The callouts that came with it are poorly made, but they were never meant for the player to respond to, but you can if you choose to attach yourself to the call with a keybind that came with the plugin. 

The plugin is old, so it causes crashes. I kept the plugin around for the immersion to see ambient units respond to calls, but the crashes were too frequent so it needed to be removed

 

javier0911

Members

(edited)

maybe add a scenario were someone is tagging  the wall and they see you passed by and they start running 

Edited by javier0911

Carsen21

Members

11 hours ago, MarcelWRLD said:

I know what is causing this error:
 

[8/7/2023 11:35:38 PM.500] LSPD First Response: Error while initializing plugin: RansomAmbience.RansomAmbience: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))   at RansomAmbience.Logic.EventLogic.LoadEventZonesAndWeights()
[8/7/2023 11:35:38 PM.500] at RansomAmbience.RansomAmbience.Initialize()
[8/7/2023 11:35:38 PM.500] at kXHTsZswkDbxgjHcyKjpGZegytVe.YgViQYeYnfruyQohFAjsiMEMFCOd() in D:\GTA V\LSPD First Response\LSPD First Response\Mod\Callouts\CalloutManager.cs:line 781
[8/7/2023 11:35:38 PM.501] LSPD First Response: Error while creating plugin: RansomAmbience.RansomAmbience: System.NullReferenceException: Object reference not set to an instance of an object.


When you download the plugin there is a "Newtonsoft.Json.dll" file in the downloaded .zip. You must copy this file to your GTA 5 main directory or the plugin won't work.

shit,my bad. i thoght i already copy that file into my GTA 5 directory, now it works fine.

but the Unconscious person event i think it targeted random npc and including cop ped in my case,any idea how to that event just targeting the random npc exclude cop ped?

MarcelWRLD

Members Author

39 minutes ago, Carsen21 said:

shit,my bad. i thoght i already copy that file into my GTA 5 directory, now it works fine.

but the Unconscious person event i think it targeted random npc and including cop ped in my case,any idea how to that event just targeting the random npc exclude cop ped?

Glad to hear it works now! 

You yourself can't exclude the cop ped, I will look into it though.

 

Was it a default cop ped or a customized one?

43 minutes ago, javier0911 said:

maybe add a scenario were someone is tagging  the wall and they see you passed by and they start running 

I will have to look if there is an animation/scenario for this in GTA and if there is I could add that. Thanks for your suggestion!

3 hours ago, TheBeaner said:

possibly add a wrong way driver dui to the pack, btw does this pack also work out in the county?

I tried implementing a wrong way driver event but I don't think its possible unfortunately 😕

Yes it works in the county

3 hours ago, DiabloRambo said:

Ambient AI callouts was more of an immersion plugin then actual callouts, it was meant to make you feel like you arent the only cop in the city, you can see the ambient spawns just patrolling like you, and a scripted audio file will play requesting a response and the Ai units will respond to it, you don't need to respond if you dont want to. So you can see your fellow AI at an opposite traffic light go code 3 on a call.

The callouts that came with it are poorly made, but they were never meant for the player to respond to, but you can if you choose to attach yourself to the call with a keybind that came with the plugin. 

The plugin is old, so it causes crashes. I kept the plugin around for the immersion to see ambient units respond to calls, but the crashes were too frequent so it needed to be removed

 

Oh, thanks for the explanation. Well I mean it sounds cool, we will see what I do about it. But I think I saw something called "AI:Respond", is this something similar to that old plugin?

Create an account or sign in to comment

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.