Undefined symbol PlayAudioStreamForPlayer
#1

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?
Reply
#2

Re-download a_samp.inc
Reply
#3

Still the same problem.
Reply
#4

Replace your PAWNO includes from the 0.3x server package
Reply
#5

I already have updated it all.
Reply
#6

Is your version 0.3x?
Reply
#7

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.
Reply
#8

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)