MySQL isnt saving
#1

Fixed. YES
Reply
#2

BUMP PLEASE.
Reply
#3

Quote:

"UPDATE users SET Password='%s',Admin='%d',Money='%d' WHERE Name='%s',Kills='%d',Deaths='%d',Score='%d'"

That's not the right query, it has to end with ''WHERE''.

Try this:

Quote:

"UPDATE users SET Password='%s',Admin='%d',Money='%d',Kills='%d',Dea ths='%d',Score='%d' WHERE Name='%s'"

Reply
#4

Print the query, and check for any mistakes you may have made.

Sidenote:

pawn Код:
PlayerInfo[killerid][pScore] = PlayerInfo[killerid][pScore]+2;
PlayerInfo[playerid][pScore] = PlayerInfo[playerid][pScore]-2;

// Can be written like:

PlayerInfo[killerid][pScore] += 2;
PlayerInfo[playerid][pScore] -= 2;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)