MySQL does not save score, money
#1

Hello there,

Please help me with this, my mysql does not save my money, score.

my SavePlayer Code

pawn Код:
SavePlayer(playerid)
{
if(pInfo[playerid][Logged] == 1)
{
new Query[500];
format(Query, 500, "UPDATE `playerdata` SET `admin` =%i, `score` =%i, `money` =%i, `kills` =%i, `deaths` =%i WHERE `id` =%d LIMIT 1",
pInfo[playerid][pAdmin],
pInfo[playerid][pScore],
pInfo[playerid][pMoney],
pInfo[playerid][pKills],
pInfo[playerid][pDeaths],
pInfo[playerid][ID]);
mysql_query(Query);
print(Query);
}
}
Thanks for any help provided!
Reply


Messages In This Thread
MySQL does not save score, money - by ZBits - 18.12.2013, 12:34
Re: MySQL does not save score, money - by speed258 - 18.12.2013, 12:38
Re: MySQL does not save score, money - by Patrick - 18.12.2013, 12:52
Re: MySQL does not save score, money - by CaveDweller - 18.12.2013, 12:56
Re: MySQL does not save score, money - by ZBits - 18.12.2013, 19:30
Re: MySQL does not save score, money - by Patrick - 18.12.2013, 19:49
Re: MySQL does not save score, money - by ZBits - 18.12.2013, 20:01
Re: MySQL does not save score, money - by ZBits - 18.12.2013, 20:29

Forum Jump:


Users browsing this thread: 1 Guest(s)