Turn off music in vanilla unicorn

Can someone tell me how i can remove the standard music from vanilla unicorn?

1 Like

Have a look into the native

SetStaticEmitterEnabled

But where do I put it inside?

1 Like
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
        if NetworkIsSessionStarted() then
            SetStaticEmitterEnabled('LOS_SANTOS_VANILLA_UNICORN_01_STAGE', false)
            SetStaticEmitterEnabled('LOS_SANTOS_VANILLA_UNICORN_02_MAIN_ROOM', false)
            SetStaticEmitterEnabled('LOS_SANTOS_VANILLA_UNICORN_03_BACK_ROOM', false)
            return
        end
    end
end)
10 Likes

but where do i enter it?

1 Like

In a resource - existing or new.

so it doesnt mind which resource?

3 Likes

No one seems to want to answer this question. Lmk if you figure it out

2 Likes

just enter the code above into any resource

What about bahama’s & Tequi-la-la ? :relaxed:

Try it with that: SE_DLC_Biker_Tequilala_Exterior_Emitter

Thanks I found the wiki :grinning:
https://wiki.■■■■.mp/wiki/GTA:Static_Emitters

I guess it’s gonna be a search for bahama’s

BTW: The: SE_DLC_Biker_Tequilala_Exterior_Emitter dit not work. The music is still going.

did you find out how to turn of mussic for tequilala ?

Nope, sorry. Still searching for tequilala and bahama mamas west.

There is a mall / arts center in the city that plays weird ass horn sounds. anyone know this location lol?

1 Like
Citizen.CreateThread(function()
    while true do
        SetStaticEmitterEnabled("collision_9qv4ecm", false);  -- TEQUILLA
		Citizen.Wait(0)
	end
end)

To turn off the music

Where is this located??

You don’t need to put the native in a loop, you can simply do it like this:

Citizen.CreateThread(function()

    SetStaticEmitterEnabled('LOS_SANTOS_VANILLA_UNICORN_01_STAGE', false)
    SetStaticEmitterEnabled('LOS_SANTOS_VANILLA_UNICORN_02_MAIN_ROOM', false)
    SetStaticEmitterEnabled('LOS_SANTOS_VANILLA_UNICORN_03_BACK_ROOM', false)

end)
2 Likes