SA-MP Forums Archive
Undefined symbol PlayAudioStreamForPlayer - 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: Undefined symbol PlayAudioStreamForPlayer (/showthread.php?tid=422786)



Undefined symbol PlayAudioStreamForPlayer - Denying - 15.03.2013

First of all, thank you for reading this.

Alright, so my problem as the title says, is a undefined symbol.
I used the following code:
pawn Код:
if(dialogid == DIALOG_MUSIC)
    {
        if(response)
        {
            if(listitem == 0)
            {
                PlayAudioStreamForPlayer(playerid, "http://www.bbc.co.uk/radio/player/bbc_radio_one");
            }
            if(listitem == 1)
            {
                PlayAudioStreamForPlayer(playerid, "http://tunein.com/radio/bigFM-895-s84203/");
            }
            if(listitem == 2)
            {
                PlayAudioStreamForPlayer(playerid, "http://www.rtve.es/alacarta/live_radio_PopUp.shtml?id=3342&v=undefined&vp=&lang=es");
            }
            if(listitem == 3)
            {
                PlayAudioStreamForPlayer(playerid, "http://tunein.com/radio/Medi-1-996-s24883/");
            }
            if(listitem == 4)
            {
                PlayAudioStreamForPlayer(playerid, "http://tunein.com/radio/Galgalatz-918-s68320/");
            }
        }
        return 1;
    }
And I get the following errors:
Код:
C:\Users\haim\Desktop\Testing script\gamemodes\k.pwn(706) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\haim\Desktop\Testing script\gamemodes\k.pwn(710) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\haim\Desktop\Testing script\gamemodes\k.pwn(714) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\haim\Desktop\Testing script\gamemodes\k.pwn(718) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\haim\Desktop\Testing script\gamemodes\k.pwn(722) : error 017: undefined symbol "PlayAudioStreamForPlayer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
What shall I do?


Re: Undefined symbol PlayAudioStreamForPlayer - Bikken - 15.03.2013

Re-download a_samp.inc


Re: Undefined symbol PlayAudioStreamForPlayer - Denying - 15.03.2013

Still the same problem.


Re: Undefined symbol PlayAudioStreamForPlayer - Bikken - 15.03.2013

Replace your PAWNO includes from the 0.3x server package


Re: Undefined symbol PlayAudioStreamForPlayer - Denying - 15.03.2013

I already have updated it all.


Re: Undefined symbol PlayAudioStreamForPlayer - Bikken - 15.03.2013

Is your version 0.3x?


Re: Undefined symbol PlayAudioStreamForPlayer - DaRk_RaiN - 15.03.2013

You need to open the new pawno.exe and use it to open your gamemode with it, not just update pawno then double click at the GM.


Re: Undefined symbol PlayAudioStreamForPlayer - Denying - 15.03.2013

I see. Let me try it.
I will edit this post after I check.


Re: Undefined symbol PlayAudioStreamForPlayer - Denying - 15.03.2013

Thank you. You desereve a reputation point ( DaRk_RaiN ) and Bikken thank you for trying to help! Given reputation point to both.

EDIT: lol forgot I wanted to edit the last post, but nvm.