Help In MySQL
#3

pawn Код:
stock SavePlayerVariables(playerid)
{
    new Query[200];
    format(Query,sizeof(Query),"UPDATE `players` SET `Money` = '%i', `Kills` = '%i',`Deaths` = '%i', `Rank` = '%i' WHERE `Name` = '%s'",GetPlayerMoney(playerid),pInfo[playerid][pKills],pInfo[playerid][pDeaths], pInfo[playerid][pRank],GetPlayerEscapeName(playerid));
    mysql_query(Query);
}
You forgot to input `Deaths` variable.
Reply


Messages In This Thread
Help In MySQL - by rati555 - 28.12.2011, 10:23
Re: Help In MySQL - by FireCat - 28.12.2011, 10:32
Re: Help In MySQL - by WooTFTW - 28.12.2011, 10:40

Forum Jump:


Users browsing this thread: 2 Guest(s)