15.09.2010, 00:38
Quote:
'WHERE `userid1 = '0''.
Unnecessary quote marks. Change that query to this; Code:
WHERE `userid` = 0 (or any % module). |
pawn Code:
format(string, sizeof(string), "UPDATE `Accounts` SET `Password` = '%s', `AdminLevel` = '%d', `Money` = '%d', `Score` = '%d', WHERE `UserID` = %d", PlayerStatistics[playerid][pPassword], PlayerStatistics[playerid][pAdminLevel], PlayerStatistics[playerid][pMoney], PlayerStatistics[playerid][pDatabaseID]);