Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

11 answers to this question

Recommended Posts

  • 0
Posted
Acum 1 oră, MihaiAdv a spus:

Imi arata ca nu le gaseste definite: 

undefined symbol "mysql_store_result"
undefined symbol "mysql_fetch_row_format"

Poza: https://imgur.com/a/yNDtT 

Am incercat sa dau upgrade la R6-R7 dar dupa imi da iar errori... 

Acele functii nu sunt dispobibile pt acea versiune de mysql. Ii faci upgrade sau downdrage la versiunea de mysql(.dll si .inc) sau folosesti functiile aferente versiuni care fac acelasi lucru ca cele de mai sus.

  • 0
Posted (edited)
Acum 3 minute, MihaiAdv a spus:

pai nu stiu functiile pentru R39-3 si daca le caut pe google nu le gasesc... 

wiki.sa-mp.com/wiki/MySQL/R33

Este de la mysql r33 pana la R39-3 linkul

Edited by valivaly96
  • 0
Posted

Am cautat... nu le gaseste frate.. ma poti ajuta? 

undefined symbol "mysql_store_result"
undefined symbol "mysql_fetch_row_format"

Chiar nu pot rezolva problema asta.. Am cautat de azi de la 15:30 si degeaba..

  • 0
Posted

Uite, iti dau codul sursa:

stock LoadFactions()
{
    new query[400];
    for(new id; id < MAX_FACTIONS; id++)
    {
        format(query, sizeof(query), "SELECT * FROM Factions WHERE ID = %d", id);
        mysql_tquery(SQL, query);
        mysql_store_result(); - aici este problema #1
        if(cache_num_rows())
        if(mysql_fetch_row_format(query,"|")) - aici este problema #2
        {
            sscanf(query, "p<|>e<is[64]ds[32]s[32]s[32]s[32]s[32]>",Factions[id]);
            Total_Factions_Created++;
        }

    }
    printf("> %d factions have been loaded from the database.", Total_Factions_Created);
    return 1;
}

 

  • 0
Posted
Acum 5 minute, MihaiAdv a spus:

Uite, iti dau codul sursa:

stock LoadFactions()
{
    new query[400];
    for(new id; id < MAX_FACTIONS; id++)
    {
        format(query, sizeof(query), "SELECT * FROM Factions WHERE ID = %d", id);
        mysql_tquery(SQL, query);
        mysql_store_result(); - aici este problema #1
        if(cache_num_rows())
        if(mysql_fetch_row_format(query,"|")) - aici este problema #2
        {
            sscanf(query, "p<|>e<is[64]ds[32]s[32]s[32]s[32]s[32]>",Factions[id]);
            Total_Factions_Created++;
        }

    }
    printf("> %d factions have been loaded from the database.", Total_Factions_Created);
    return 1;
}

 

versiunea de mysql este < de R33. nici tu  u stii ce versiune folosesti. Pt ca de la 33 in sus nu mai exista acele functii

  • 0
Posted (edited)
Acum 6 minute, MihaiAdv a spus:

Trebuie redacut sistemul de loading sa fie compatibil cu acea versiine de mysql. Sistemul este facut pe o versiune mai mica de r33. Uitate de exemplu in gm bigzone dau burned cum sunt facute, nu o sa stau acum sa fac un sistem de loading

Edited by valivaly96

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.