[DOUBT] Is it possible?


  • Wiki Contributor
  • LBR | Co-Leader & Brasil Real RPG | Developer
  • Posts: 470
[DOUBT] Is it possible?
« on December 12th, 2014, 04:46 PM »
it is possible to disable the original game radios to let only those created by me?
Code: [Select]
if( !sucess ) tryAgain();


  • VC:MP Beta Tester
  • Posts: 622


  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 1,141
[DOUBT] Re: Is it possible?
« Reply #2, on December 13th, 2014, 09:13 AM »
I think you cannot disable them, but just redirecting to your radio when a player wants to hear a default radio.


  • VC:MP Beta Tester
  • Posts: 1,688
[DOUBT] Re: Is it possible?
« Reply #3, on December 13th, 2014, 10:59 AM »
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.