Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: MatheuS on Dec 12, 2014, 04:46 PM

Title: [DOUBT] Is it possible?
Post by: MatheuS on Dec 12, 2014, 04:46 PM
it is possible to disable the original game radios to let only those created by me?
Title: Re: [DOUBT] Is it possible?
Post by: ysc3839 on Dec 13, 2014, 08:17 AM
Yes!
Title: Re: [DOUBT] Is it possible?
Post by: Sebastian on Dec 13, 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.
Title: Re: [DOUBT] Is it possible?
Post by: Thijn on Dec 13, 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.