URL - 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: URL (
/showthread.php?tid=384340)
URL -
teomakedonija - 11.10.2012
How to create this cmd with input url text ?
if(strcmp(cmd, "/dcmuzika", true) == 0)
{
for(new i=0; i<250; i++)
{
PlayAudioStreamForPlayer(i,
http://dwmusic.tk/muzika/Dubiosa%20K...0-%20usa.mp3);
}
}
Re: URL -
C00K13M0N$73R - 11.10.2012
The url is a string.
Use "URL"
Re: URL -
teomakedonija - 11.10.2012
Thanks.Btw show me error.Error its Undifined symbol URL
Re: URL -
teomakedonija - 11.10.2012
BUMP !
Re: URL -
RedJohn - 11.10.2012
Code:
if(strcmp(cmd, "/dcmuzika", true) == 0)
{
ShowPlayerDialog(playerid, 15555, DIALOG_STYLE_INPUT, "Paste your mp3 link", "Please enter MP3 link bellow.", "OK", "Cancel"); //Red John's dialog creator
return 1;
}
Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 15555)
{
if(response)
{
for(new i=0; i<250; i++)
{
PlayAudioStreamForPlayer(i, inputtext[]);
}
}
return 1;
}
return 0;
}
Re: URL - Glint - 11.10.2012
Why are you guys looping ?
EDIT : ok ok now i know sorry.
Re: URL -
gtakillerIV - 11.10.2012
So the Stream can play for all of the players in the server.
Re: URL -
Ghost_Boii - 11.10.2012
i would like to get Song in The Spawn Request Please Help Me For Helping Me +Rep
Re: URL -
mamorunl - 11.10.2012
Quote:
Originally Posted by teomakedonija
|
C00K13M0N$73R meant put the URL between quotes

(also, for you next topic: if you have code, put them between [pawn][/pawn] or
Quote:
Originally Posted by C00K13M0N$73R
The url is a string.
Use "URL"
|
Re: URL -
Ghost_Boii - 11.10.2012
mamoruni please help me also