Jump to content

How to disable the music of GTA


Matevsz

Recommended Posts

Hello, I create a car radio and as I switch radio stations and station have my name it goes normal music from the GTA, and how to get it on Radio Off, and there is no station names and jade further it goes the music from the station ... :shock:

Sorry for English

Link to comment
Hello, I create a car radio and as I switch radio stations and station have my name it goes normal music from the GTA, and how to get it on Radio Off, and there is no station names and jade further it goes the music from the station ... :shock:

Sorry for English

You want to disable the radio, if yes

try this

addEventHandler("onClientPlayerRadioSwitch", root, 
function() 
    local vehicle = getPedOccupiedVehicle(localPlayer) 
    if (vehicle) then 
            if getRadioChannel() ~= 0 then 
                setRadioChannel(0) 
                cancelEvent() 
           end 
     end 
end) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...