Jump to content

Recommended Posts

Posted

Am facut un sistem de raport pt admini, totul merge cum trebuie pana dau restart la server, adica nu se salveaza in baza de date.

    format(rQuery[0], 512, "UPDATE `admins` SET `MinAdminReports` = '%d'", Amount);
    mysql_tquery(DB_Connect, rQuery[0], "", "");

 

Posted

Ai cumva rQuery sub forma de new rQuery[numar][string_size] ?

Daca nu (cel mai probabil nu), in codul tau tu incerci sa formatezi un string si sa il pui intr-un singur caracter si ma mir ca nu iti da eroare.

format(rQuery, 512, "UPDATE `admins` SET `MinAdminReports` = '%d'", Amount);     mysql_tquery(DB_Connect, rQuery, "", "");

Posted

DB_Connect este variabila in care la OnGameModeInit ai mysql_connect? Daca nu la mysql_tquery foloseste acea variabila

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.