[Ajuda] Ajuda fazer jeito certo MYSQL
#5

Quote:
Originally Posted by Marlon_Lorran
Посмотреть сообщение
pawn Код:
CarregarServer() {
    mysql_tquery(ConnectMYSQL, "SELECT * FROM `server`", "Carregar_Server", "");
}

Carregar_Server() {

    if(cache_get_row_count() == 0) {
        print("Nada encontrado");
       
    } else {

        new int_dest[6];
        int_dest[0] = cache_get_field_content_int(0, "donoDende");                              donoDende = int_dest[0];
        int_dest[1] = cache_get_field_content_int(0, "donoComplexo");                           donoComplexo = int_dest[1];
        int_dest[2] = cache_get_field_content_int(0, "donoUrubu");                              donoUrubu = int_dest[2];
        int_dest[3] = cache_get_field_content_int(0, "donoMangueira");                          donoMangueira = int_dest[3];
        int_dest[4] = cache_get_field_content_int(0, "donoRocinha");                            donoRocinha = int_dest[4];
        int_dest[5] = cache_get_field_content_int(0, "donoTitanic");                            donoTitanic = int_dest[5];

        cache_get_field_content(0, "god", admlist[god],1,30);
        cache_get_field_content(0, "cm1", admlist[cm1],1,30);
        cache_get_field_content(0, "cm2", admlist[cm2],1,30);
        cache_get_field_content(0, "gm1", admlist[gm1],1,30);
        cache_get_field_content(0, "gm2", admlist[gm2],1,30);
        cache_get_field_content(0, "gm3", admlist[gm3],1,30);
        cache_get_field_content(0, "gm4", admlist[gm4],1,30);
        cache_get_field_content(0, "sa1", admlist[sa1],1,30);
        cache_get_field_content(0, "sa2", admlist[sa2],1,30);
        cache_get_field_content(0, "sa3", admlist[sa3],1,30);
        cache_get_field_content(0, "sa4", admlist[sa4],1,30);
        cache_get_field_content(0, "adm1", admlist[adm1],1,30);
        cache_get_field_content(0, "adm2", admlist[adm2],1,30);
        cache_get_field_content(0, "adm3", admlist[adm3],1,30);
        cache_get_field_content(0, "adm4", admlist[adm4],1,30);
        cache_get_field_content(0, "mod1", admlist[mod1],1,30);
        cache_get_field_content(0, "mod2", admlist[mod2],1,30);
        cache_get_field_content(0, "mod3", admlist[mod3],1,30);
        cache_get_field_content(0, "mod4", admlist[mod4],1,30);
        cache_get_field_content(0, "mod5", admlist[mod5],1,30);
        cache_get_field_content(0, "mod6", admlist[mod6],1,30);
        cache_get_field_content(0, "mod7", admlist[mod7],1,30);
        cache_get_field_content(0, "mod8", admlist[mod8],1,30);
        cache_get_field_content(0, "tutor1", admlist[tutor1],1,30);
        cache_get_field_content(0, "tutor2", admlist[tutor2],1,30);
        cache_get_field_content(0, "tutor3", admlist[tutor3],1,30);
        cache_get_field_content(0, "tutor4", admlist[tutor4],1,30);
        cache_get_field_content(0, "tutor5", admlist[tutor5],1,30);
        cache_get_field_content(0, "tutor6", admlist[tutor6],1,30);
        cache_get_field_content(0, "tutor7", admlist[tutor7],1,30);
        cache_get_field_content(0, "tutor8", admlist[tutor8],1,30);
    }  
}
Te dei um rep aqui, mas nгo funcionou e na hora de compilar deu isso

Код:
warning 203: symbol is never used: "Carregar_Server"
Reply


Messages In This Thread
Ajuda fazer jeito certo MYSQL - by luccagomes15 - 14.11.2015, 09:35
Re: Ajuda fazer jeito certo MYSQL - by luccagomes15 - 14.11.2015, 17:39
Re: Ajuda fazer jeito certo MYSQL - by luccagomes15 - 15.11.2015, 16:18
Re: Ajuda fazer jeito certo MYSQL - by Marlon_Lorran - 15.11.2015, 22:03
Re: Ajuda fazer jeito certo MYSQL - by luccagomes15 - 16.11.2015, 00:10
Re: Ajuda fazer jeito certo MYSQL - by Coringa_Vilao - 16.11.2015, 00:26
Re: Ajuda fazer jeito certo MYSQL - by Marlon_Lorran - 16.11.2015, 01:41
Re: Ajuda fazer jeito certo MYSQL - by luccagomes15 - 16.11.2015, 03:13
Re: Ajuda fazer jeito certo MYSQL - by Marlon_Lorran - 16.11.2015, 03:21
Re: Ajuda fazer jeito certo MYSQL - by Marlon_Lorran - 16.11.2015, 12:22

Forum Jump:


Users browsing this thread: 1 Guest(s)