PDA

View Full Version : music system


Xeinss
04/04/2014, 04:06 PM
I made a music system but when I run this function works properly but does not Hear the Music.
if (strcmp("/maduaha1231231234", cmdtext, true) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://picosong.com/eZeu/");
return 1;}

ea7gign
04/04/2014, 04:08 PM
test with zcmd

iThePunisher
04/04/2014, 04:32 PM
Xeinss you have downloaded Gta san andreas from internet or you bought it?

xConnor
04/04/2014, 05:31 PM
if (strcmp("/
maduaha1231231234", cmdtext,
true) == 0)
{
PlayAudioStreamForPlayer
(playerid, "http://picosong.com/
eZeu/");
return 1;
}

get the music link from mp3skull.com

Xeinss
04/04/2014, 07:56 PM
if (strcmp("/
maduaha1231231234", cmdtext,
true) == 0)
{
PlayAudioStreamForPlayer
(playerid, "http://picosong.com/
eZeu/");
return 1;
}

get the music link from mp3skull.com

dont work .
if(strcmp(cmdtext,"/MusicList", true) == 0)
{
ShowPlayerDialog(playerid, MusicList,DIALOG_STYLE_LIST, "תפריט שירים", "בן אל - מדוע חזרת \nאיתי לוי כמעט שיר אהבה\nנתאנל ששון - שוב\nבן אל - אולי תגידו\nלכבות את המוסיקה","בחר","ביטול");
return 1;}

if (strcmp("/maduaha1231231234", cmdtext, true) == 0)
{
PlayAudioStreamForPlayer(playerid, "http://soundowl.com/track/5y93");
return 1;}
return 0;}

seanny
04/04/2014, 08:40 PM
Is your GTA SA Radio Audio even on?

Xeinss
05/04/2014, 10:45 AM
if (strcmp("/
maduaha1231231234", cmdtext,
true) == 0)
{
PlayAudioStreamForPlayer
(playerid, "http://picosong.com/
eZeu/");
return 1;
}

get the music link from mp3skull.com

Is your GTA SA Radio Audio even on?

no , you can send me gta with radio audio ?

VerticalGaming
05/04/2014, 01:14 PM
Esc > Options > Audio Settings > Radio volume (Turn it to MAX)

Xeinss
06/04/2014, 10:10 AM
Esc > Options > Audio Settings > Radio volume (Turn it to MAX)

dont work its in max if i enter car and switch for radio i dont Hear a song

Equuuuin0X
06/04/2014, 10:23 AM
the URL must be set to .mp3

Get the link from www.mp3skull.com

Xeinss
06/04/2014, 10:57 AM
the URL must be set to .mp3

Get the link from www.mp3skull.com

http://soundowl.com/track/6k9f like this?<

doreto
06/04/2014, 11:04 AM
http://soundowl.com/track/6k9f like this?<

URL.mp3

Nucky
06/04/2014, 11:14 AM
Xeinss... you might have corrupted audio files or missing some. Can you hear normal radio?

PrivatioBoni
06/04/2014, 11:20 AM
I use kiwi6.com and it works like a charm, free and easy to use.
I use the direct link just to be sure it'll work (and it does work almost nine times out of 10.)

trukker1998
06/04/2014, 11:33 AM
Go to your settings and then audio settings, de Radio should be more then 0..
Then you use the command and it should work.

Xeinss
06/04/2014, 04:37 PM
Xeinss... you might have corrupted audio files or missing some. Can you hear normal radio?

no i cant hear normal radio.

CharlieSanchez
07/04/2014, 12:15 PM
Like Equuuuin0X say the link must end either in MP3 or pls, direct .com links wont work...

Stanford
07/04/2014, 12:34 PM
If you still need them in ZCMD:

CMD:musiclist(playerid, params[])
{
ShowPlayerDialog(playerid, MusicList,DIALOG_STYLE_LIST, "????? ?????", "?? ?? - ???? ???? \n???? ??? ???? ??? ????\n????? ???? - ???\n?? ?? - ???? ?????\n????? ?? ???????","???","?????");
return 1;
}
CMD:maduaha1231231234(playerid, params[])
{
PlayAudioStreamForPlayer(playerid, "http://soundowl.com/track/5y93");
return 1;
}

Hint: don't forget to add #include <zcmd> by Zeex in top of your script!.