pawn Код:
mysql_format(mysql,query,sizeof(query),"UPDATE `users` SET `Level` = %d,`Money` = %d,`Registered` = %d,`SpawnChange` = %d,`Sex` = %d,`Years` = %d WHERE `ID` = '%d'",PlayerInfo[playerid][Level],
PlayerInfo[playerid][Money],PlayerInfo[playerid][Registered],PlayerInfo[playerid][SpawnChange],PlayerInfo[playerid][Sex],PlayerInfo[playerid][Years],PlayerInfo[playerid][ID]);
mysql_tquery(mysql,query,"","");
mysql_format(mysql,query,sizeof(query),"UPDATE `users` SET `Origin` = %d,`Skin` = %d,`Tutorial` = %d,`Member` = %d,`Leader` = %d WHERE `ID` = '%d'",PlayerInfo[playerid][Origin],
PlayerInfo[playerid][Skin],PlayerInfo[playerid][Tutorial],PlayerInfo[playerid][Member],PlayerInfo[playerid][Leader],PlayerInfo[playerid][ID]);
mysql_tquery(mysql,query,"","");
mysql_format(mysql,query,sizeof(query),"UPDATE `users` SET `Admin` = %d,`GameMaster` = %d,`Quiet` = %d,`AdminPlace` = %d,`Rank` = %d,`Bank` = %d WHERE `ID` = '%d'",PlayerInfo[playerid][Admin],
PlayerInfo[playerid][GameMaster],PlayerInfo[playerid][Quiet],PlayerInfo[playerid][AdminPlace],PlayerInfo[playerid][Rank],PlayerInfo[playerid][Bank],PlayerInfo[playerid][ID]);
mysql_tquery(mysql,query,"","");