[standalone] / [free] cr-stopmusic -Stop all native music in game (cars / world / ambient)

icons8-no-music-68

turn your server into a non DMCA streamer friendly city

stops all music from interiors (stores, clubs…)
stops all ambient world music (like in little italy or stab city)…
stops all native music from cars (and disables the radio wheel)…

           installation 
  • drag n drop into resources folder
  • IF ESX (client/main.lua) change isQBCore = false
  • ensure cr-stopmusic in server.cfg
  • restart server

works with qb-core or esx

Github Download

Code is accessible Yes
Subscription-based No
Lines (approximately) 38
Requirements qb-core or esx
Support No
12 Likes

Coool! :blue_heart:

1 Like

Maybe change esx trigger to ESX = exports[“es_extended”]:getSharedObject()

1 Like

Why an extra script?

Simply insert this code into the Framework ESX/QB client and you’re done.

StartAudioScene(“DLC_MPHEIST_TRANSITION_TO_APT_FADE_IN_RADIO_SCENE”)
or
StartAudioScene(“CHARACTER_CHANGE_IN_SKY_SCENE”)
StartAudioScene(“FBI_HEIST_H5_MUTE_AMBIENCE_SCENE”)

Switch off GTA Online police radio

SetAudioFlag(“PoliceScannerDisabled”,true)

2 Likes

first off… im very new to coding

so im sure there is a better way to do what ive done
but the only reason the script exists is because i couldn’t find one that does this

what your saying is instead of creating a script just edit an existing one in your server to add to its functionality… this is a viable option for anyone that can

the reason i made this script is for dummy’s like me that aren’t proficient with code.

<3

3 Likes

updated :slight_smile:

1 Like

When a restart is announced, music is shown. Can it be stopped too?

Would you allow me to publish the script to the Arabs?