Play Audio Stream using a command [sloved] - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Play Audio Stream using a command [sloved] (
/showthread.php?tid=94403)
Play Audio Stream using a command [sloved] -
Patrik356b - 29.08.2009
I would like to know if it's possible to do this:
Код:
if(strcmp(cmdtext, "/music on", true) == 0) {
SendClientMessage(playerid, YELLOW_2, "Music: K-DST");
PlayerPlaySound(playerid, *, 0, 0, 0);
return 1;
}
* = the audio stream id
When you type /music, you should hear K-DST
Re: Play Audio Stream using a command -
Correlli - 29.08.2009
No, you can't play radio stations.
Re: Play Audio Stream using a command -
Patrik356b - 29.08.2009
okay, then I'm gonna use the Audio Client by Incognito