Disabling Radio
#1

I've searched, I can't find anything related to this topic. I used several keywords, if there are I apologize. Lets get this started;


A survival server. I want that the car radio won't turn on everytime a player enters a car. I mean, it's an apocalypse no radio signals. All I want it to be is there won't be any song that play inside the car. No radio, no static. Just, none.


How do I do that? Thanks.
Reply
#2

I dont think its possible to disable default radio.

Have you ever seen a server with this feature?
Reply
#3

Quote:
Originally Posted by Shinja
Посмотреть сообщение
I dont think its possible to disable default radio.

Have you ever seen a server with this feature?
Yes.
Reply
#4

I think streaming an invalid audio(invalid link) it will block the car radio(like streaming it upon player connecting)
Im not 100%
Reply
#5

Ya just set the audio stream to an invalid url of some sort.

PlayAudioStreamForPlayer(playerid, "http://127.0.0.1");

in

OnPlayerEnterVehicle
Reply
#6

Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
Ya just set the audio stream to an invalid url of some sort.

PlayAudioStreamForPlayer(playerid, "http://127.0.0.1");

in

OnPlayerEnterVehicle
Worked, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)