Jump to content

andreisaass

Membru
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by andreisaass

    • 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. On 5/30/2018 at 10:11 AM, Krypton. said:

    Stochează modificările de la tunning în baza de date, iar când spawnezi mașina să se încarce variabilele pentru tunning.

    nu e de acolo era dela modveh nu era settuning: :)

     

  2. 10 hours ago, Ionut_WS said:

    pe majoritatea gamemode-urilor modificarile facute in tunning se salveaza cand dai /park, daca vrei sa se salveze cand iesi din tunning fa o verificare si salveaza modificarile in baza de date la fel ca la /park

    ma poti ajuta ?

×
×
  • 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.