12.05.2015, 06:11
Hello there, I have a problem saving things in my mysql database, this is my query code(i don't use threaded queries, )
is there a problem saving things if I dont use threaded queries? I coudnt understand. Please help me in this issue.
pawn Код:
new str[700];
mysql_format(mysql,str, sizeof(str),"UPDATE `users` SET Name = %s, IP = %s, Money = %d, Score = %d, Kills = %d, Deaths = %d, Level = %d, Rank = '%s', \
ZonesCaptured = %d, FlagsCaptured = %d, VIP = %d, DonateLevel = %d WHERE ID = %d",PlayerName(playerid),p_IP[playerid],GetPlayerCash(playerid),GetPlayerScore(playerid),Kills[playerid],Deaths[playerid],AdminLevel{playerid},RankNames[Rank[playerid]],ZonesCaptured[playerid],FlagsCaptured[playerid],
VIP[playerid],DonateLevel[playerid],FieldID[playerid]);
mysql_query(mysql,str);