28.12.2011, 10:40
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);
}