if (strcmp("/hiphop", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://209.95.50.189:8124/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Urban Hitz"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/reggaeton", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://192.184.9.158:8836/listen.pls&t=.m3u"); SendClientMessage(playerid, green, "Radio: ReggaetonColombia"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/eletronica", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://pulseedm.cdnstream1.com:8124/1373_128.m3u&t=.m3u"); SendClientMessage(playerid, green, "Radio: PulseEDM Dance Music Radio"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/metal", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://192.99.62.212:9408/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: MetalRockFM"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/hiphop2", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://149.56.175.167:5461/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Hip Hop Request"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/country", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://188.165.232.7:8477/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Country Hits Radio"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/blues", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://37.59.14.77:8352/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Blues Radio"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/rock", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://23.29.71.154:8140/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: xxxRockFM"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/hiphop3", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://149.56.157.81:8677/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Big Shot Radio"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/hiphop4", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://88.198.10.229:8150/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Bounce Radio"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/wutang", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://162.252.85.85:8872/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: Wu World Radio"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/hiphop5", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://144.217.180.30:8218/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: OldSchoolRapFM"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if (strcmp("/hiphop6", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =1; PlayAudioStreamForPlayer(playerid, "http://74.82.59.197:8208/listen.pls?sid=1&t=.m3u"); SendClientMessage(playerid, green, "Radio: 223 Media Radio NY"); SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!"); return 1; } if(strcmp("/radiooff", cmdtext, true, 10) == 0) { if(RadioPlayer[playerid] == 0) { RadioPlayer[playerid] =0; StopAudioStreamForPlayer(playerid); SendClientMessage(playerid, red, "* Radio Off!"); return 1; }
K:\L U C A S\gpara11.pwn(771) : error 017: undefined symbol "Actualizar" K:\L U C A S\gpara11.pwn(777) : error 017: undefined symbol "PlayerName2" K:\L U C A S\gpara11.pwn(807) : error 017: undefined symbol "SaveToFile" K:\L U C A S\gpara11.pwn(810) : error 017: undefined symbol "IpToCountry_db" K:\L U C A S\gpara11.pwn(833) : error 017: undefined symbol "NickSpam" K:\L U C A S\gpara11.pwn(835) : error 017: undefined symbol "CambiarNickSpamer" K:\L U C A S\gpara11.pwn(872) : error 017: undefined symbol "MapIcons" K:\L U C A S\gpara11.pwn(872) : error 017: undefined symbol "RemoveObjets" K:\L U C A S\gpara11.pwn(874) : error 017: undefined symbol "PlayerName2" K:\L U C A S\gpara11.pwn(878) : error 017: undefined symbol "SaveToFile" K:\L U C A S\gpara11.pwn(900) : error 017: undefined symbol "SaveToFile" K:\L U C A S\gpara11.pwn(920) : error 017: undefined symbol "PlayerName2" K:\L U C A S\gpara11.pwn(939) : error 017: undefined symbol "encodepass" K:\L U C A S\gpara11.pwn(967) : error 017: undefined symbol "encodepass" K:\L U C A S\gpara11.pwn(1060) : error 017: undefined symbol "DelPrint" K:\L U C A S\gpara11.pwn(1061) : error 017: undefined symbol "DelPrint" K:\L U C A S\gpara11.pwn(1070) : error 017: undefined symbol "BorrarAuto" K:\L U C A S\gpara11.pwn(1071) : error 017: undefined symbol "ResetPlayerVarDisconnect" K:\L U C A S\gpara11.pwn(1073) : error 017: undefined symbol "CarDeleter" K:\L U C A S\gpara11.pwn(1113) : error 017: undefined symbol "Guardar" K:\L U C A S\gpara11.pwn(1117) : error 017: undefined symbol "PlayerName2" K:\L U C A S\gpara11.pwn(1119) : error 017: undefined symbol "PlayerName2" K:\L U C A S\gpara11.pwn(1141) : error 017: undefined symbol "CarDeleter" K:\L U C A S\gpara11.pwn(1150) : error 017: undefined symbol "AdvanceSpectate" K:\L U C A S\gpara11.pwn(1163) : error 017: undefined symbol "Actualizar" K:\L U C A S\gpara11.pwn(1164) : error 017: undefined symbol "Actualizar" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
if (strcmp("/rock", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0) { //chave aberta
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://23.29.71.154:8140/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: xxxRockFM");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
} // chave fechada, porйm nгo fechou a "if(RadioPlayer[playerid] == 0)"
if (strcmp("/hiphop", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://209.95.50.189:8124/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Urban Hitz");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/reggaeton", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://192.184.9.158:8836/listen.pls&t=.m3u");
SendClientMessage(playerid, green, "Radio: ReggaetonColombia");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/eletronica", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://pulseedm.cdnstream1.com:8124/1373_128.m3u&t=.m3u");
SendClientMessage(playerid, green, "Radio: PulseEDM Dance Music Radio");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/metal", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://192.99.62.212:9408/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: MetalRockFM");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/hiphop2", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://149.56.175.167:5461/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Hip Hop Request");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/country", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://188.165.232.7:8477/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Country Hits Radio");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/blues", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://37.59.14.77:8352/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Blues Radio");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/rock", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://23.29.71.154:8140/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: xxxRockFM");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/hiphop3", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://149.56.157.81:8677/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Big Shot Radio");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/hiphop4", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://88.198.10.229:8150/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Bounce Radio");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/wutang", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://162.252.85.85:8872/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: Wu World Radio");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/hiphop5", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://144.217.180.30:8218/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: OldSchoolRapFM");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if (strcmp("/hiphop6", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =1;
PlayAudioStreamForPlayer(playerid, "http://74.82.59.197:8208/listen.pls?sid=1&t=.m3u");
SendClientMessage(playerid, green, "Radio: 223 Media Radio NY");
SendClientMessage(playerid, -1, "* Si deseas apagar la radio usa (/RadioOff)!");
return 1;
}
}
if(strcmp("/radiooff", cmdtext, true, 10) == 0)
{
if(RadioPlayer[playerid] == 0)
{
RadioPlayer[playerid] =0;
StopAudioStreamForPlayer(playerid);
SendClientMessage(playerid, red, "* Radio Off!");
return 1;
}
}
return 1;
}
Erros de chaves, vocк estava esquecendo de fechar.
PHP код:
PHP код:
|