Jump to content

Question

Posted
  • apare in mysql_log niste erori null format query ceva de gen
  • Detalii despre problemă:pai la porni de cand pornesc gm apare erorile astea
  • Log("14:08:01","mysql_tquery",4,"connection: 1, query: \"\", callback: \"SELECT * FROM `gps_locations`\", format: \"loadLocations\"",0);
    Log("14:08:01","mysql_tquery",1,"callback parameter count does not match format specifier length",0);
    Log("14:08:01","mysql_tquery",4,"connection: 1, query: \"SELECT * FROM `dealership`\", callback: \"loadDealerShip\", format: \"(null)\"",0);
    Log("14:08:01","mysql_tquery",4,"connection: 1, query: \"SELECT * FROM `users` WHERE `DayLogin` = '1'\", callback: \"PlayersLoggedDay\", format: \"(null)\"",0);
    Log("14:08:01","mysql_tquery",4,"connection: 1, query: \"SELECT * FROM `users`\", callback: \"Accounts\", format: \"(null)\"",0);
    Log("14:08:01","mysql_tquery",4,"connection: 1, query: \"UPDATE `users` SET `Status` = '0' WHERE 1\", callback: \"(null)\", format: \"(null)\"",0);

 

 

pastebin.com) :https://pastebin.com/PkGnCNfa

 

 

uitati si functia

function loadLocations() {
    serverGPSLocations = cache_num_rows();
    for(new i = 1; i <= cache_num_rows(); i++) {
        GpsInfo[locationID] = cache_get_field_content_int(i - 1, "locationID");
        GpsInfo[locationX] = cache_get_field_content_float(i - 1, "locationX");
        GpsInfo[locationY] = cache_get_field_content_float(i - 1, "locationY");
        GpsInfo[locationZ] = cache_get_field_content_float(i - 1, "locationZ");
        cache_get_field_content(i - 1, "locationName", GpsInfo[locationName], SQL, 50);
    } printf("Locatii: %d", cache_num_rows());
    return 1;
}

 

 

 

 

 

 

 

 

 

 

 

1 answer to this question

Recommended Posts

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.