09.08.2011, 02:38
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
mysql_format(Handler, szQuery, "UPDATE `account` SET Money = %d, Level = %d WHERE Username` = '%e'", GetPlayerMoney(playerid), User[playerid][Level], pName(playerid));
printf("Data of player %s has been updated", pName(playerid));
return 1;
}