VAn egy radio scriptem és erroros miért kellene valami incudle vagy plugin?
Hibák:
D:--------- : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
D:--------- : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
D:--------- : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
D:--------- : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
D:--------- : error 017: undefined symbol \"StopAudioStreamForPlayer\"
D:--------- : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Script:
#include <a_samp>
#include <zcmd>
public OnFilterScriptInit()
{
print(\"------------------------\");
print(\"Scriptet Készitette ZzzzZ\");
print(\"------------------------\");
return 1;
}
#define ZeneDialog 200
COMMAND:(zene,playerid,params[])
{
ShowPlayerDialog(playerid,ZeneDialog,DIALOG_STYLE_INPUT,\"{ff000}Rádiok\",\"Class FM\\nNeofm\\nRádio1\\nMixrádio\\nStop\",\"Lejátsz\",\"\");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == ZeneDialog && response)
{
if(strcmp(inputtext,\"ClassFM\",true) == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://91.82.85.41:9216/;stream\");
}
else if(strcmp(inputtext,\"NeoFM\",true))
{
PlayAudioStreamForPlayer(playerid,\"http://91.82.85.41:8080/;stream\");
}
else if(strcmp(inputtext,\"Rádio1\",true) == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://195.70.35.172:8000/radio1.mp3\");
}
else if(strcmp(inputtext,\"Mixrádio\",true) == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://savetofile.net:8450/;stream\");
}
else if(strcmp(inputtext,\"Stop\",true) == 0)
{
StopAudioStreamForPlayer(playerid);
}
}
return 1;
}