SA-MP Forums Archive
Custom Radio Channel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Custom Radio Channel (/showthread.php?tid=429399)



Custom Radio Channel - Chriistiix - 09.04.2013

Hi,

I saw on a other server, i thougt it was from jakku, that he has a Custom Radio's.
I liked it and search on the forum and ******, and i found only FS for custom radios but those are with a dialog.
That server has changed the original radio from gta, like Playback FM K-Roses K-Jah. those are edited to a different name and an internet radio stream.

Wich FS Is it, or how to do it.
I allready search for it and found only fs with a dialog and a command (/radio)

Thanks

Chris


Re: Custom Radio Channel - MattyG - 09.04.2013

To play internet radio streams in game, use PlayAudioStreamForPlayer.
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer


Re: Custom Radio Channel - Chriistiix - 09.04.2013

I dont want it with a command, just the controlkey to change to radio channel in the original GTA SA.
And then show in the top the custom channel name. In a vehicle


Re: Custom Radio Channel - MattyG - 09.04.2013

I'm not actually sure if you can check if the mouse is being scrolled with OnPlayerKeyStateChange, but I know you could use a text draw to put the custom channel name up and check if someone is in a vehicle with IsPlayerInAnyVehicle.


Re: Custom Radio Channel - Chriistiix - 09.04.2013

I saw it in this server.
HostName: American Trucking by Jakku
Address: 5.152.197.5:6872


Re: Custom Radio Channel - RicaNiel - 09.04.2013

Quote:
Originally Posted by Chriistiix
Посмотреть сообщение
I dont want it with a command, just the controlkey to change to radio channel in the original GTA SA.
And then show in the top the custom channel name. In a vehicle
Use
pawn Код:
OnPlayerKeyStateChange
and then you can use a text draw


Re: Custom Radio Channel - Chriistiix - 09.04.2013

and how to disable the original radio ?


Re: Custom Radio Channel - RicaNiel - 09.04.2013

Quote:
Originally Posted by Chriistiix
Посмотреть сообщение
and how to disable the original radio ?
Simple Turn off the client side radio
and use the instruction posted above

the Audio or Radio steam or what ever
is Server Sided the radio in your GTA is Client sided