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
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
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?
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 ?
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
Sending you a message in a moment
Do you use dis?
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.
SetAudioFlag('PoliceScannerDisabled', true)
I believe this also does the trick and doesn’t require to be run every frame
ok thank you for the suggest.
This solution also works, thanks.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.