06.05.2017, 15:11
The RP is not sending to the database. What can I do?
PHP код:
public SaveAcc(pname[24], money, bankmoney, ip[39], level, rp)
{
new query[600];
printf("UPDATE `accounts` SET `Money` = %d, `BankMoney` = %d, `IP` = %s, `Level` = %d, `RP` = %d WHERE `Name` = '%s'", money, bankmoney, ip, level, rp, pname);
mysql_format(mysql, query, sizeof(query), "UPDATE `accounts` SET `Money` = %d, `BankMoney` = %d, `IP` = %s, `Level` = %d, `RP` = %d WHERE `Name` = '%s'", money, bankmoney, ip, level, rp, pname);
mysql_tquery(mysql, query, "", "");
return 1;
}