Van egy ilyen Scriptem de ezeket a hibakat adja ki
netrol neztem es semmi mast nem kert pl: plusz include
C:\\Users\\Balinator\\Desktop\\GTA\\Új mappa (3)\\filterscripts\\radio.pwn(55) : error 017: undefined symbol \"StopAudioStreamForPlayer\"
C:\\Users\\Balinator\\Desktop\\GTA\\Új mappa (3)\\filterscripts\\radio.pwn(67) : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
C:\\Users\\Balinator\\Desktop\\GTA\\Új mappa (3)\\filterscripts\\radio.pwn(75) : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
C:\\Users\\Balinator\\Desktop\\GTA\\Új mappa (3)\\filterscripts\\radio.pwn(82) : error 017: undefined symbol \"PlayAudioStreamForPlayer\"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Am velemenyek is johetnek a scriptrol
[pawn]#include <a_samp>
#define color_ok 0xFFFF00FF
#define color_wa 0xFF9900AA
new playing[MAX_PLAYERS];
main () {}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(\"/radio\", cmdtext, true, 6) == 0)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, \"Zene\", \"{FF0000}Zene leallitasa\\nRadio1\\nMixRadio\\nRadioGaGa(Marosvasarhely)\", \"Choose\", \"Exit\");
return 1;
}
if (strcmp(\"/nrg\", cmdtext, true, 6) == 0)
{
new Float:x;
new Float:y;
new Float:z;
new nrg;
GetPlayerPos(playerid, Float:x, Float:y, Float:z);
nrg = AddStaticVehicle(522, Float:x, Float:y, Float:z, 10, -1, -1);
PutPlayerInVehicle(playerid, nrg, 0);
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 1:
{
if(!response)
{
return 1;
}
switch(listitem)
{
case 0:
{
if(playing[playerid] == 1)
{
playing[playerid] = 0;
GameTextForPlayer(playerid, \"~w~A Zene ~r~Lealt\", 3000, 3);
StopAudioStreamForPlayer(playerid);
}
else
{
SendClientMessage(playerid, color_wa, \"- Nem megy a Zene -\");
}
}
case 1:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
PlayAudioStreamForPlayer(playerid, \"
http://79.172.241.237:8000/radio1.mp3\");
}
case 2:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
PlayAudioStreamForPlayer(playerid, \"
http://87.229.73.132:8550/mixradio.mp3\");
}
case 3:
{
playing[playerid] = 1;
GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
PlayAudioStreamForPlayer(playerid, \"
http://www.radiogaga.ro\");
}
// case 4:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
//
// case 5:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
//
// case 6:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
//
// case 7:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
//
// case 8:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
//
// case 9:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
// case 10:
// {
// playing[playerid] = 1;
// GameTextForPlayer(playerid, \"~w~A Zene ~g~elindult\", 3000, 3);
// PlayAudioStreamForPlayer(playerid, \"\");
// }
//
}
}
}
return 1;
}
public OnPlayerConnect(playerid)
{
playing[playerid] = 0;
return 1;
}
public OnPlayerDisconnect(playerid)
{
playing[playerid] = 0;
return 1;
}
public OnFilterScriptInit()
{
print(\"--------------------------------\");
print(\"----- Radio (v0.1) loaded! -----\");
print(\"--------------------------------\");
return 1;
}[/pawn]