SA-MP Forums Archive
The songs from ******* work only to me - 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: The songs from ******* work only to me (/showthread.php?tid=314101)



The songs from ******* work only to me - tal_peretz - 28.01.2012

That what I did -

PHP код:
PlayAudioStreamForPlayer(playerid"http://www.*******-mp3.org/get?video_id=tg00YEETFzg&h=0c3d7743c261e501656116d9333eb7fd&r=1327767799767");
                } 
it's work to me, but all the other can't hear ... maybe in the linux it will work for all?


thank's for helping


Re: The songs from ******* work only to me - Sascha - 28.01.2012

it's because of that "h" code (or "r" code can't remember exactly)...
that code is different for everyone


Re: The songs from ******* work only to me - TheArcher - 28.01.2012

Just loop the function through all players.


Re: The songs from ******* work only to me - tal_peretz - 28.01.2012

Quote:
Originally Posted by Sascha
Посмотреть сообщение
it's because of that "h" code (or "r" code can't remember exactly)...
that code is different for everyone
I don't understand, what to do ?

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
Just loop the function through all players.
no man :X when they play it it's not work, when I play the song it works for me .. only me [who host the server] can hear.


Re: The songs from ******* work only to me - Sascha - 28.01.2012

there is a filterscript on the forum "******* player" or so... check it out, it uses the HTTP function as solution, which will get the correct link codes for each player..
don't ask me for the link, search on your own^^


Re: The songs from ******* work only to me - niels44 - 28.01.2012

you need .mp3 files, i always download then from *******, convert them to mp3 and then upload them on mediafire and i copy the download link... that works fine too XD


Re: The songs from ******* work only to me - tal_peretz - 28.01.2012

Quote:
Originally Posted by niels44
Посмотреть сообщение
you need .mp3 files, i always download then from *******, convert them to mp3 and then upload them on mediafire and i copy the download link... that works fine too XD
Thanks !
but do you know if it will remove from there after sometimes ?


Re: The songs from ******* work only to me - aGhillieSniper - 28.01.2012

I'll give you an answer tommorow


Re: The songs from ******* work only to me - Steven82 - 28.01.2012

Make a loop with the foreach include because it's easier than doing the "for(new.." method.
pawn Код:
foreach(Player, i)
{
  PlayAudioStreamForPlayer(i, "/*rest of code here*/");
}



Re: The songs from ******* work only to me - tal_peretz - 28.01.2012

Quote:
Originally Posted by Steven82
Посмотреть сообщение
Make a loop with the foreach include because it's easier than doing the "for(new.." method.
pawn Код:
foreach(Player, i)
{
  PlayAudioStreamForPlayer(i, "/*rest of code here*/");
}
you don't understand me man .. :\

and it's not so hard to write for(new i; i<=MAX_PLAYERS; i++) I am doing it in close eyes