10.04.2017, 22:27
PHP код:
new Query[900];
format(Query, sizeof(Query), "UPDATE `accounts` SET `Admin` = '%d', `VIP` = '%d', `Money` = '%d', `Kills` = '%d', `Deaths` = '%d', `Score` = '%d' WHERE `Name` = '%e'",
Player[playerid][Admin],
Player[playerid][VIP],
Player[playerid][Money],
Player[playerid][Kills],
Player[playerid][Deaths],
Player[playerid][Score],
pname(playerid));
mysql_query(Query); // which is this line.
Can't understand why it's giving an error.