18.08.2013, 15:04
To com esses erros aqui
Linhas dos erros
Код:
C:\Users\Xiter\Downloads\CDB2013.pwn(5846) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5848) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5850) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5854) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5858) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5863) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5867) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5869) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5872) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5874) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5876) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5877) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5879) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5882) : error 021: symbol already defined: "format" C:\Users\Xiter\Downloads\CDB2013.pwn(5886) : error 021: symbol already defined: "format" C:\Users\Xiter\Downloads\CDB2013.pwn(5889) : error 021: symbol already defined: "SpawnPlayer" C:\Users\Xiter\Downloads\CDB2013.pwn(5895) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5897) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5899) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5901) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5904) : error 021: symbol already defined: "format" C:\Users\Xiter\Downloads\CDB2013.pwn(5907) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5915) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5917) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5919) : error 010: invalid function or declaration C:\Users\Xiter\Downloads\CDB2013.pwn(5921) : error 010: invalid function or declaration
Код HTML:
if(dialogid >= DIALOG_ESTADOS && dialogid <= 1500)
{
if(!response)
{
if(dialogid >= 1000+EstadosNorte[0])
{
ShowPlayerDialog(playerid, DIALOG_NORTE, DIALOG_STYLE_LIST, "Escolha um ponto para poder continuar:", "", "Selecionar", "Voltar");
}
else if(dialogid >= 1000+EstadosSul[0])
{
ShowPlayerDialog(playerid, DIALOG_SUL, DIALOG_STYLE_LIST, "Escolha um ponto para poder continuar:", "", "Selecionar", "Voltar");
}
else if(dialogid >= 1000+EstadosSudeste[0])
{
ShowPlayerDialog(playerid, DIALOG_SUDESTE, DIALOG_STYLE_LIST, "Escolha um ponto para poder continuar:", "Copa do Brasil", "Selecionar", "Voltar");
}
}
else
{
// printf("Dialogid: %d - Listitem: %d", dialogid, listitem);
new total = -1;
for(new i = 0; i < MAX_TORCIDAS; i ++)
{
if(Torcidas[i][Estado] == dialogid-1000)
{
// printf("I found: %d", i);
total += 1;
// printf("Total: %d");
if(total == listitem)
{
if(PlayerInfo[playerid][pTorcidas] == i)
return SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк jб й dessa torcida!");
PlayerInfo[playerid][pTorcidas] = i;
new string[128];
format(string,128,"[INFO] %s escolhida!", Torcidas[i][tNome]);
SendClientMessage(playerid, COR_PRINCIPAL, string);
new cor[24];
format(cor,24,"%s",Torcidas[i][tCor]);
format(string,128,"[Chat %s] %s (%d): {FFFFFF}Olб! Acabei de entrar para a Torcida, prazer em conhece-los.", Torcidas[i][tNome], Nome(playerid), playerid);
SendMessageToTorc(i, Torcidas[i][tCor], string);
SpawnPlayer(playerid);
SetPlayerSkin(playerid, Torcidas[i][tSkin]);
}
}
}
}
return 1;
}
if(dialogid == DIALOG_RADIO)
{
if(response)
{
if(listitem == 0)
{
new str[128];
format(str, 128, "http://%s", URL_RADIO);
PlayAudioStreamForPlayer(playerid, str);
}
if(listitem == 1)
{
SendClientMessage(playerid, COR_PRINCIPAL, "[INFO] Mъsica Desligada. Obrigado por Curtir a Radio Sound POP.");
StopAudioStreamForPlayer(playerid);
}
}
}
//------------------------- [ Dialog Sede ] ------------------------------------//
if(dialogid == DIALOG_MENUSEDE)//
{
if(response)
{
if(listitem == 0)
{
if(!VerificarRival(playerid))