PlayAudioStreamForPlayer problem
#1

hello everyone, i got a problem to play a sound with PlayAudioStreamForPlayer

pawn Код:
COMMAND:uav(playerid, params[])
{
    PlayAudioStreamForPlayer(playerid,"http://www.upload-mp3.com/files/321702_5vfk4/UAV%20online%20Modern%20Warfare%202.mp3]UAV online Modern Warfare 2.mp3");
    return 1;
}
this doesnt play the sound.

please help me thx
Reply
#2

1. That filehost has hotlink protection.
2. ]UAV online Modern Warfare 2.mp3");

What is this? You can't set titles for files, only radio streams.
Reply
#3

did you know a web site to upload the .mp3 file and play this with PlayAudioStreamForPlayer ?
Reply
#4

Zippyshare is a free audio only filehost with direct linking enabled.
Reply
#5

yes but it give a link with .html format and with PlayAudioStreamForPlayer we need a .mp3 or .ogg format
Reply
#6

Quote:
Originally Posted by timaoux
Посмотреть сообщение
yes but it give a like with .html format and with PlayAudioStreamForPlayer we need a .mp3 or .ogg format
Right click the download link and click copy link location....

Reply
#7

no sound.


and why put this pic lol
Reply
#8

Then you've done it incorrectly, show me the sound url you're trying to play.
Reply
#9

PlayAudioStreamForPlayer(playerid,"http://www20.zippyshare.com/d/71576632/443/UAV%20online%20Modern%20Warfare%202.mp3");


i have right click on download now image and copy link then past


that's the given link after upload http://www20.zippyshare.com/v/71576632/file.html
Reply
#10

Right I'll PM you a method as I'm sure I could get in trouble for posting it here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)