18.04.2012, 00:02
I've created this for a basic rank system to save,
But the problem is, the function xp only saves, not score/rank/kills.
What am i doing wrong?
P.S newbie to MySQL.
pawn Код:
format(Query, sizeof(Query), "UPDATE `userinfo` SET `score` = %d, `rank` = %d,`xp` = %d, `kills` = %d WHERE `user` = '%s'", GetPlayerScore(playerid), rank[playerid], score2[playerid], kills[playerid], pname(playerid));
What am i doing wrong?
P.S newbie to MySQL.