GTA Közösség - A magyar GTA fórum
San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Balinator - 2012. február 06. - 20:09:13
-
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]
-
Ezt csak a 0.3d-s pawno tamogatja,valoszinuleg neked c van.
Innen letudod tolteni: http://sa-mp.com/download.php
-
Honnan toltsem le
a szervert letoltottem de az a pawno nszerintem ugyanaz mint az enyem mert semi uj nincs benne
-
a tied 0.3c a filek ugyanazok csak a tartalma nem! cseréld ki... am 0.3d szerverrrel fog menni is a script.
-
Belinkelned a sajat pawnodat mert az az erzesem h hulyen csinalom a dolgot
Megkoszonnem
-
Letöltöd a sa-mp.com ról és felülirod a szervered pawnoját a letöltött pawnoval..
-
Na jo ez mar komoly
Letoltotem legalabb 5X a sa-mp.com-rol apawnot ujratetem meg minden de az Isternert se akarja lefuttatni
nem akarja valaki feltolteni a pawno mert en nem ertem
Lassan megcsinaltam egy rendes szervert es egy ilyen radio kifog rajtam na ne
-
Nálam is hibás :S