MySQL saving
#1

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:
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]);
}
If you want more codes or something then tell me...

In phpmyadmin it don't work:

Hope you see pic
Reply


Messages In This Thread
MySQL saving - by finelaq - 30.08.2014, 12:49
Re: MySQL saving - by Wizzy951 - 30.08.2014, 12:53
Re: MySQL saving - by finelaq - 30.08.2014, 12:57
Re: MySQL saving - by BroZeus - 30.08.2014, 13:00
Re: MySQL saving - by finelaq - 30.08.2014, 13:06
Re: MySQL saving - by Fred1993 - 30.08.2014, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)