[DOUBT] Is it possible?

Started by MatheuS, Dec 12, 2014, 04:46 PM

Previous topic - Next topic

MatheuS

it is possible to disable the original game radios to let only those created by me?
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

ysc3839


Sebastian

I think you cannot disable them, but just redirecting to your radio when a player wants to hear a default radio.

Thijn

There is a Vehicle.RadioLocked property. You could set the radio station with Vehicle.Radio and then lock it.
Can't really think of any other way. Other then checking the radio station every few seconds and set it to your custom one if it's a default station.

Custom radios can't overwrite default ones because they use IDs higher then the default radio stations.