MySQL
#4

Nothing is wrong
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);
I tried to do a printf to see if the variables isnt empty
Reply


Messages In This Thread
MySQL - by Kitten - 18.04.2012, 00:02
Re: MySQL - by Ricop522 - 18.04.2012, 00:20
Re: MySQL - by Kitten - 18.04.2012, 00:41
Re: MySQL - by Ricop522 - 18.04.2012, 00:57
Re: MySQL - by Skribblez - 18.04.2012, 01:04
Re: MySQL - by Kitten - 18.04.2012, 01:12
Re: MySQL - by Skribblez - 18.04.2012, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)