i got that errors help pls
#1

hello, i got that errors when i tried to compile my mysic sys:

Код:
D:\Mp3 player by Miku_97\MP3.pwn(72) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(73) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(77) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(78) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(82) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(83) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(87) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(88) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(92) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(93) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(97) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(98) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(102) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(103) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(107) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(108) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(112) : error 017: undefined symbol "StopAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(113) : error 017: undefined symbol "PlayAudioStreamForPlayer"
D:\Mp3 player by Miku_97\MP3.pwn(117) : error 017: undefined symbol "StopAudioStreamForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
    {
    switch(dialogid)
        {
		case 1:
    	    {
           	switch(listitem)
        	{
        	    case 0:
        	    {
  ----->           StopAudioStreamForPlayer(playerid);
                    PlayAudioStreamForPlayer(playerid, "http://24.media.v4.skyrock.net/music/245/dcd/245dcdbcbc5b0e5b2f89c26fc1eed062.mp3");
        	    }
        	    case 1:
        	    {
    ----->         StopAudioStreamForPlayer(playerid);
					PlayAudioStreamForPlayer(playerid, "http://a5.media.v4.skyrock.net/music/a55/484/a55484b3d713e7cac5523c91bc1bce04.mp3");
        	    }
        	    case 2:
        	    {
      ----->         StopAudioStreamForPlayer(playerid);
					PlayAudioStreamForPlayer(playerid, "http://pomoi.com/uploads/files/1312972359_pitbull_-_rain_over_me.mp3");
        	    }
        	    case 3:
        	    {
      ----->         StopAudioStreamForPlayer(playerid);
					PlayAudioStreamForPlayer(playerid, "http://dc392.4shared.com/img/682232860/1bad3668/dlink__2Fdownload_2FekKeEHMn_3Ftsid_3D20110908-122878-e6222a00/preview.mp3");
        	    }
        	    case 4:
        	    {
       ----->        StopAudioStreamForPlayer(playerid);
        	       PlayAudioStreamForPlayer(playerid, "http://download.muzoff.ru/m3_files/65/6552/sum_41_-_were_all_to_blame_(live).mp3");
        	    }
        	    case 5:
        	    {
        ----->       StopAudioStreamForPlayer(playerid);
        	       PlayAudioStreamForPlayer(playerid, "http://www.gnrworld.com/bootlegs/audio/1988/July29/Paradise%20City.mp3");
        	    }
        	    case 6:
        	    {
      ----->        StopAudioStreamForPlayer(playerid);
        	       PlayAudioStreamForPlayer(playerid, "http://3e.media.v4.skyrock.net/music/3e9/64c/3e964c72ea1898edffb9fa03dcde7c0b.mp3");
        	    }
   	            case 7:
        	    {
        ----->        StopAudioStreamForPlayer(playerid);
        	       PlayAudioStreamForPlayer(playerid, "http://www.marineparade.net/mppodcast/EvilNine_March2010Mix.mp3");
        	    }
        	    case 8:
        	    {
       ----->        StopAudioStreamForPlayer(playerid);
        	       PlayAudioStreamForPlayer(playerid, "Pitbull feat. Ne-Yo, Afrojack   Nayer - Give Me Everything");
        	    }
   	            case 9:
        	    {
        ----->        StopAudioStreamForPlayer(playerid);
        	    }
        	}
    	    }
	}
    }
    return 1;
}
Reply
#2

https://sampwiki.blast.hk/wiki/StopAudioStreamForPlayer
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

Quote:

This function was added in SA-MP 0.3d and will not work in earlier versions!

You try to compile with includes of 0.3c or earlier versions, update: https://sampforum.blast.hk/showthread.php?tid=581259
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)