21.05.2014, 14:03
(
Последний раз редактировалось ThatThoseTheThy; 21.05.2014 в 17:29.
)
How to stream music from my PC onto the server?
I know you have to use
but for some reason when i upload a file to a music uploading thing, and put it in script it doesn't sound a thing.
(I am using Bare script here is the code");
it worked with the link they provided. I heard here and there that you need a .mp3 at the end of the link, but i can't find a hosting thing that will make it that way. Any ideas?
More info:
I know you have to use
Код:
PlayAudioForPlayer(playerid, "URL.mp3");
(I am using Bare script here is the code");
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new idx; new cmd[256]; cmd = strtok(cmdtext, idx); if(strcmp(cmd, "/song", true) == 0) { PlayAudioStreamForPlayer(playerid, "http://kiwi6.com/file/qpxbus44fp"); return 1; } return 0; }
More info:
