[Ajuda] error 017: undefined symbol "mysql_fetch_row_format"
#9

Quote:
Originally Posted by Cleyson
Посмотреть сообщение
PHP код:
public ActualizarClima() 
{ 
    
mysql_tquery(BD, "SELECT * FROM ClimaRealista", "ResultadoConsulta", "");
    return 
1;
}
forward ResultadoConsulta();
public 
ResultadoConsulta() 
{ 
    if(
cache_num_rows() > 0) 
    {
        
cache_get_value_int(0, "NumeroClima", NumeroClima[0]);
        
cache_get_value_int(0, "DiaNoche", NumeroClima[1]);
    } 
    switch (
NumeroClima[1]) 
    { 
        case 
0: SetWorldTime(12); // Noche 
        
case 1: SetWorldTime(0); // Dнa 
    
} 
    switch (
NumeroClima[0]) 
    { 
        case 
0, 1, 2, 3, 4, 17, 35, 37, 38, 47, 48: SetWeather(8); // Tormenta 
        
case 5, 6, 7, 8, 9, 10, 11, 12, 18, 39, 40, 45: SetWeather(16); // Lluvia 
        
case 13, 14, 15, 16, 41, 42, 43, 46: SetWeather(16); // Nieve 
        
case 19, 21, 22, 23: SetWeather(2); // Nievla Soleado 
        
case 26: SetWeather(36); // Nubleado 
        
case 27, 28, 29, 30, 36: SetWeather(33); // Nubleado Soleado 
        
case 31, 32, 33, 34: SetWeather(46); // Soleado 
    
} 
    
SetTimer("ActualizarClima", 300000, false);//5 Minutos
    
return 1;
} 
Obrigado Cleyson, agora foi possivel compilar sem erros eu so nгo estava conseguindo consertar por conta do script ser antigo mas muito obrigado!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)