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;
}