Disable police radio station on server

How can I disable the police station that plays when you shoot NPC’s? It is quite annoying and is heard by the entire server.

The sound is this: Grand Theft Auto V Story Mode Police Scanner Audio Clips - YouTube

1 Like

Hi how are you mate, I had this problem as well a long time ago.
And I solved it by this: CancelCurrentPoliceReport - FiveM Natives @ Cfx.re Docs

-- _CANCEL_CURRENT_POLICE_REPORT
CancelCurrentPoliceReport()

Let me know if that worked for you.

Thanks for your answer. Could you tell me where I should put this?

1 Like

You can do this:

Citizen.CreateThread(function()
   while true do
      Citizen.Wait(0)
      DisableReports()
   end
end)

function DisableReports()
    DisablePoliceReports()
end

Let me know after ok :+1:?

1 Like

Just in case if you don’t know, go for a client side ok?

Sorry, I’m new to this and I don’t know where to add that code. Could you tell me? Thanks.

OK give me a moment ok?

Okay, no problem :slight_smile:

Sending you a message in a moment

1 Like

Do you use dis?

1 Like

Yes, I’ll tell you in a private message.

OK waiting for you it will be more easy to help from there and explain to you all u need.

1 Like
SetAudioFlag('PoliceScannerDisabled', true)

I believe this also does the trick and doesn’t require to be run every frame

6 Likes

:+1: ok thank you for the suggest.

1 Like

This solution also works, thanks. :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.