30.08.2014, 12:49
Hi, im a new in MySQL and i wanted to save drift score in database, but it don't work. I tried many ways..
Code:
If you want more codes or something then tell me...
In phpmyadmin it don't work:
Hope you see pic
Code:
pawn Код:
{
public DriftCancellation(playerid)
{
PlayerDriftCancellation[playerid] = 0;
AnnaRaha(playerid,DriftPointsNow[playerid],0);
new query[300], pname[24];
GetPlayerName(playerid, pname, 24);
format(query, sizeof(query), "UPDATE `playerdata` SET Drift='%i' WHERE user='%s'", DriftPoints[playerid]);
DriftPointsNow[playerid] = 0;
DriftPoints[playerid] = 0;
scores[playerid] = 0;
TextDrawHideForPlayer(playerid, Chet[playerid]);
TextDrawHideForPlayer(playerid, ChetP[playerid]);
}
In phpmyadmin it don't work:
Hope you see pic