Server doesnt save score and money
#4

pawn Код:
SavePlayer(playerid)
{
    if(pInfo[playerid][Logged] == 1)
    {
        new Query[500];
        format(Query, 500, "UPDATE ґplayerdataґ SET ґadminґ = '%d', ґscoreґ = '%d', ґmoneyґ = '%d', ґkillsґ = '%d', ґdeathsґ = '%d' 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);
    }
}
Reply


Messages In This Thread
Server doesnt save score and money - by Jimmy0wns - 02.05.2013, 20:01
Re: Server doesnt save score and money - by Jimmy0wns - 02.05.2013, 21:06
Re: Server doesnt save score and money - by RevolutionaryGaming - 02.05.2013, 22:24
Respuesta: Server doesnt save score and money - by JustBored - 03.05.2013, 06:06
Re: Server doesnt save score and money - by Jimmy0wns - 03.05.2013, 12:00

Forum Jump:


Users browsing this thread: 2 Guest(s)