15.03.2013, 12:26
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:
And I get the following errors:
What shall I do?
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;
}
Код:
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