18.04.2012, 00:57
Nothing is wrong
I tried to do a printf to see if the variables isnt empty
pawn Код:
new Score = GetPlayerScore(playerid);
new Rank = rank[playerid];
new Score2 = score2[playerid];
new Kills = kills[playerid];
printf("%d %d %d %d", Score, Rank, Score2, Kills);
format(Query, sizeof(Query), "UPDATE `userinfo` SET `score` = '%d', `rank` = '%d', `xp` = '%d', `kills` = '%d' WHERE `user` = '%s'", Score, Rank, Score2, Kills, pname(playerid));
mysql_query(Query);